Simple help me please Godmode
#4

pawn Код:
COMMAND:god(playerid, params[])
{
    if(Administrator[playerid] == 1)
    {
            if(Godmode[playerid] == 0)
            {
                SetPlayerHealth(playerid, INFINITY);
                SendClientMessage(playerid, 0x00FF00FF, "Godmode ON");
            }
            else
            {
                SetPlayerHealth(playerid, 100);
                SendClientMessage(playerid, 0xFF0000FF, "Godmode OFF");            
            }
    } else return SendClientMessage(playerid, 0xFF0000FF, "You're not an Adminstrator!");
    return 1;
}
Reply


Messages In This Thread
Simple help me please Godmode - by Davz*|*Criss - 02.08.2011, 10:51
Re: Simple help me please Godmode - by Wesley221 - 02.08.2011, 10:54
Re: Simple help me please Godmode - by Davz*|*Criss - 02.08.2011, 10:55
Re: Simple help me please Godmode - by Wesley221 - 02.08.2011, 10:57
Re: Simple help me please Godmode - by Davz*|*Criss - 02.08.2011, 10:58
Re: Simple help me please Godmode - by Wesley221 - 02.08.2011, 10:59
Re: Simple help me please Godmode - by Davz*|*Criss - 02.08.2011, 11:02
Re: Simple help me please Godmode - by iPLEOMAX - 02.08.2011, 11:04
AW: Simple help me please Godmode - by samtey - 02.08.2011, 11:12
Re: Simple help me please Godmode - by iPLEOMAX - 02.08.2011, 11:16

Forum Jump:


Users browsing this thread: 2 Guest(s)