Quote:
Originally Posted by CutX
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'
|
That wouldn't work, cause I tried it with setting the health to 100, if its below 20?