How to add Health to current....
#2

You would get the current health, then set the health to varhealth+20.

pawn Code:
new Float:HP;
GetPlayerHealth(playerid, HP);
SetPlayerHealth(playerid, HP+20);
Reply


Messages In This Thread
How to add Health to current.... - by TheYoungCapone - 10.02.2011, 23:13
Re: How to add Health to current.... - by Krx17 - 10.02.2011, 23:31
Re: How to add Health to current.... - by TheYoungCapone - 10.02.2011, 23:45
Re: How to add Health to current.... - by Dovydux - 30.12.2011, 14:33
Re: How to add Health to current.... - by Rob_Maate - 30.12.2011, 14:38
Re: How to add Health to current.... - by Dovydux - 30.12.2011, 18:51
Re: How to add Health to current.... - by Dovydux - 31.12.2011, 17:57
Re: How to add Health to current.... - by Dovydux - 31.12.2011, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)