[PEDIDO] /GOD
#9

pawn Код:
if(strcmp(cmd, "/godmod", true) == 0)
{
    if(GetPVarInt(playerid, "GOD") == 0)
    {
        SetPVarInt(playerid, "GOD", 1);
        SetPlayerHealth(playerid, 99999);
        //mensagem
    }
    if(GetPVarInt(playerid, "GOD") == 1)
    {
       SetPVarInt(playerid, "GOD", 0);
       SetPlayerHealth(playerid, 100);
       //Mensagem
    }
    return 0x01;
}


//public ONPlayerdeath

if(GetPVarInt(playerid, "GOD") == 1) SetPVarInt(playerid, "GOD", 0);
A sua array OMG й global.
O correto й
new omg[MAX_PLAYERS];
Reply


Messages In This Thread
[PEDIDO] /GOD - by IILeonII - 14.06.2011, 17:45
Re: [PEDIDO] /GOD - by Shadoww5 - 14.06.2011, 17:54
Re: [PEDIDO] /GOD - by JonathanFeitosa - 14.06.2011, 17:59
Re: [PEDIDO] /GOD - by Rodrigo. - 14.06.2011, 18:06
Re: [PEDIDO] /GOD - by KevinsL - 14.06.2011, 18:09
Re: [PEDIDO] /GOD - by Shadoww5 - 14.06.2011, 18:14
Re: [PEDIDO] /GOD - by KevinsL - 14.06.2011, 18:15
Re: [PEDIDO] /GOD - by Andrew_Guiga - 14.06.2011, 18:21
Re: [PEDIDO] /GOD - by Ricop522 - 14.06.2011, 19:06
Re: [PEDIDO] /GOD - by diretor7 - 14.06.2011, 22:40

Forum Jump:


Users browsing this thread: 1 Guest(s)