SetPlayerHealth
#1

I saw one big bug in function 'SetPlayerHealth', I can't normally add Health...

Example

Code:
				new Float:_new_pHP = _REHEALTH_VALUE + _pHP;
				SetPlayerHealth(_playerid, _new_pHP);

				new Float:_n_pHP;
				GetPlayerHealth(_playerid, _n_pHP);
				va_SendClientMessage(_playerid, -1, "- Rehealthan si || Stari Health %.2f - Novi Health %.2f(Stvarni %.2f)", _pHP, _new_pHP, _n_pHP);
This code doesn't work, why?
Reply


Messages In This Thread
SetPlayerHealth - by vannesenn - 13.09.2014, 14:23
Re: SetPlayerHealth - by Pottus - 13.09.2014, 14:57

Forum Jump:


Users browsing this thread: 1 Guest(s)