OnPlayerTakeDamage
#3

I'm not sure if GetPlayerHealth returns the old health so the if statement is always false but I will suggest something else:
pawn Код:
SetPlayerHealth(playerid, Float: 0x7F800000);
for infinity health.
Reply


Messages In This Thread
OnPlayerTakeDamage - by GoldenLion - 09.05.2016, 12:57
Re: OnPlayerTakeDamage - by Slawiii - 09.05.2016, 13:01
Re: OnPlayerTakeDamage - by Konstantinos - 09.05.2016, 13:04
Re: OnPlayerTakeDamage - by GoldenLion - 09.05.2016, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)