How to make infinity health ?
#5

You could run it in OnPlayerUpdate() tho it will be ran very often.

Edit: This will fuck up your script..
Код:
new Float:health;
        GetPlayerHealth(playerid,health);
        if (health < 1000)
        {
            SetPlayerHealth(playerid, 100);
        }
    }
   
    return 1;
}
Remember health is a Float. Also this will set your health to 100 like all the time, should probably add a zero(0) at the SetPlayerHealth().
Reply


Messages In This Thread
How to make infinity health ? - by Yaszine - 19.12.2010, 10:12
Re: How to make infinity health ? - by Rachael - 19.12.2010, 10:17
Re : How to make infinity health ? - by Yaszine - 19.12.2010, 10:27
Re: How to make infinity health ? - by Basicz - 19.12.2010, 11:11
Re: How to make infinity health ? - by hanzen - 19.12.2010, 11:37
Re: How to make infinity health ? - by [TD]Torben - 19.12.2010, 11:41
Re: How to make infinity health ? - by Hiddos - 19.12.2010, 11:42
Re: How to make infinity health ? - by Mean - 19.12.2010, 12:13
Re : Re: How to make infinity health ? - by Yaszine - 19.12.2010, 12:26
Re: How to make infinity health ? - by WillyP - 19.12.2010, 12:30

Forum Jump:


Users browsing this thread: 1 Guest(s)