22.07.2010, 18:37
pawn Код:
if(strcmp(cmd, "/gmx", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 5)
{
SaveAllGuns();//Guarda as armas
UpdateAllPlayersPosition();//Guarda a posiзгo
GameModeExitFunc(playerid);//Faz GMX
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo pode usar o comando!");
}
}
return 1;
}
LARP