This Script Work Or Not?
#2

No.. just put 5000 it will work or this
pawn Код:
#define INFINITY (Float:0x7F800000)
And
pawn Код:
SetPlayerHealth(playerid, INFINITY);
And also delete ,5
So it's like this :
pawn Код:
if (strcmp("/godmodez", cmdtext, true) == 0)
Command :
pawn Код:
#define INFINITY (Float:0x7F800000)
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/godmodez", cmdtext, true) == 0)
    {
        SetPlayerArmour(playerid, INFINITY);
        SetPlayerHealth(playerid, INFINITY);
        return 1;
    }
    return 0;
}
Note : I don't know if it works with the armour too ( the infinity thing ) but you can try.
Reply


Messages In This Thread
This Script Work Or Not? - by Trollolollo - 06.12.2012, 11:08
Re: This Script Work Or Not? - by InfiniTy. - 06.12.2012, 11:09
Re: This Script Work Or Not? - by Trollolollo - 06.12.2012, 11:13
Re: This Script Work Or Not? - by InfiniTy. - 06.12.2012, 11:18

Forum Jump:


Users browsing this thread: 1 Guest(s)