Guys Help With GetPlayerHealth(i);
#2

GetPlayerHealth does not return a value, it stores it in the second argument as a float, for example:

pawn Код:
new Float: health;
GetPlayerHealth(i, health);
SetPlayerHealth(i, health);
Hope that helps.
Reply


Messages In This Thread
Guys Help With GetPlayerHealth(i); - by Torus - 05.05.2012, 13:58
Re: Guys Help With GetPlayerHealth(i); - by JaTochNietDan - 05.05.2012, 14:38
Re: Guys Help With GetPlayerHealth(i); - by Torus - 05.05.2012, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)