06.09.2012, 10:38
pawn Код:
new aGod[MAX_PLAYERS];
CMD:god(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if(aGod[playerid] == 0)
{
SetPlayerHealth(playerid, 100000);
SetPlayerArmour(playerid, 100000);
aGod[playerid] = 1;
}
else
{
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
aGod[playerid] = 0;
}
}
}
