About SetPlayerHeath
#2

You must create a new float variable to store the players health you want to edit like this:
Код:
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health + 20.0);
Reply


Messages In This Thread
About SetPlayerHeath - by zack3021 - 11.11.2010, 01:11
Re: About SetPlayerHeath - by SuperS82 - 11.11.2010, 01:20
Re: About SetPlayerHeath - by willsuckformoney - 11.11.2010, 01:21
Re: About SetPlayerHeath - by zack3021 - 11.11.2010, 21:31

Forum Jump:


Users browsing this thread: 1 Guest(s)