03.06.2012, 15:49
The simplest zcmd command won't work on my server if I put it in my game mode. It is always ignored. It works when I put it in my FS (LuxAdmin).
For example, /tele in my GM:
It always returns the invalid commands message which is given in my FS.
For example, /tele in my GM:
pawn Код:
COMMAND:tele(playerid, params[]) return SetPlayerPos(playerid, 1175.50000000,-1174.90002441,101.59999847);
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) SendClientMessage(playerid, red, "Invalid command! Type /cmds for a list of commands you can use!");
return 1;
}