Health
#6

Quote:
Originally Posted by ikarus❶❸❸❼
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by ikarus❶❸❸❼
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Question :
Okay, so how can I add health instead of just setting it to a player??

Problem :
I don't know how to do it
pawn Код:
SetPlayerHealth(GetPlayerHealth(playerid)100);
thanks :P I have been really confused with this simple thing
Err... warning 202: number of arguments does not match definition
Look at my previous post, I edited it
Quote:
Originally Posted by Zamaroht
pawn Код:
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health + 10);
That will add him 10 health.
Okay, works now, thanks
Reply


Messages In This Thread
Health - by ViruZZzZ_ChiLLL - 10.05.2010, 15:52
Re: Health - by [MWR]Blood - 10.05.2010, 15:53
Re: Health - by ViruZZzZ_ChiLLL - 10.05.2010, 15:54
Re: Health - by [MWR]Blood - 10.05.2010, 15:59
Re: Health - by Zamaroht - 10.05.2010, 16:01
Re: Health - by ViruZZzZ_ChiLLL - 10.05.2010, 16:13

Forum Jump:


Users browsing this thread: 3 Guest(s)