{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


Messages In This Thread
{esle} - by Scott Zulkifli - 06.09.2012, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)