15.03.2011, 20:31
Does it compile
and you sure its after the code, have you tried to remove the code to be sure its that?
Else try this :
iff its a GMX cmd?
and you sure its after the code, have you tried to remove the code to be sure its that?
Else try this :
pawn Code:
if(strcmp(cmd, "/gmx", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 5)
{
GameModeExit();
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !");
}
}
return 1;
}