{esle}
#1

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;
        }
    }
}
its work..but :
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)