Issue with God Mode
#1

pawn Код:
CMD:zgod(playerid, params[])
{
    SetPlayerHealth(playerid, 99999);
    SetPlayerArmour(playerid, 99999);
    usergod = 1;
    GameTextForPlayer(playerid,"~w~GOD MODE: ~r~ON!",5000,5);
    return 1;
}
else if(usergod != 0)
{
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 0);
    usergod = 0;
    GameTextForPlayer(playerid,"~w~GOD MODE: ~r~OFF!",5000,5);
    return 1;
}
C:\Users\matt\Desktop\NG; LS-RP\gamemodes\gbrp.pwn(47) : error 010: invalid function or declaration
C:\Users\matt\Desktop\NG; LS-RP\gamemodes\gbrp.pwn(53) : error 010: invalid function or declaration
Reply


Messages In This Thread
Issue with God Mode - by UnknownGamer - 22.10.2012, 19:31
Re: Issue with God Mode - by gtakillerIV - 22.10.2012, 19:35
Re: Issue with God Mode - by SumX - 22.10.2012, 19:40
Re: Issue with God Mode - by gtakillerIV - 22.10.2012, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)