10.03.2010, 12:14
olha, para por o player god, uso isto assim:
pawn Код:
if(strcmp(cmd, "/god", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 4) return DenyMessage(playerid, 4);
SetPlayerArmour(playerid, 10000);
SetPlayerHealth(playerid, 10000);
GodTimer[playerid] = SetTimerEx("GodMode", 1, 1, "i", playerid);
SendClientMessage(playerid, COLOR_GREEN, "MODO DEUS LIGADO");
return 1;
}