Health
#5

by bypassing onplayerdeath you mean stop the player from dying correct?

if so, just set his health to "infinite"

Код:
#define INFINITY (Float:0x7F800000)
SetPlayerHealth(pid, INFINITY);
ps: the "F" in that number is supposed to be a F, cuz it's HEX. just sayin'
Reply


Messages In This Thread
Health - by Mattakil - 16.12.2013, 23:28
Re: Health - by Dokins - 16.12.2013, 23:31
Re: Health - by Mattakil - 16.12.2013, 23:39
Re: Health - by Mattakil - 17.12.2013, 19:43
Re: Health - by CutX - 17.12.2013, 20:01
Re: Health - by Mattakil - 17.12.2013, 20:38
Re: Health - by jakejohnsonusa - 17.12.2013, 21:06
Re: Health - by Mattakil - 17.12.2013, 21:35
Re: Health - by Mattakil - 17.12.2013, 21:39
Re: Health - by Patrick - 17.12.2013, 22:08

Forum Jump:


Users browsing this thread: 2 Guest(s)