Increase Health
#2

something like this? (not tested)
Код:
new oldhealth,newhealth;
GetPlayerHealth(playerid,oldhealth);
if(oldhealth<95) newhealth = oldhealth+5;
else newhealth = 100;
SetPlayerHealth(playerid,newhealth);
Reply


Messages In This Thread
Increase Health - by GreenHammy - 06.12.2009, 15:00
Re: Increase Health - by jonrb - 06.12.2009, 15:12
Re: Increase Health - by Sergei - 06.12.2009, 15:19
Re: Increase Health - by GreenHammy - 06.12.2009, 15:21
Re: Increase Health - by Correlli - 06.12.2009, 15:23
Re: Increase Health - by Sergei - 06.12.2009, 15:24
Re: Increase Health - by jonrb - 06.12.2009, 15:27
Re: Increase Health - by GreenHammy - 06.12.2009, 15:32
Re: Increase Health - by omidi - 01.08.2010, 09:27

Forum Jump:


Users browsing this thread: 1 Guest(s)