22.02.2015, 13:54
You are doing it wrong. In order to obtain player's health ou should create a float variable:
Then store the health value passed by reference:
And now you can use pHP to access it value
pawn Код:
new Float:pHP;
pawn Код:
GetPlayerHealth(playerid,pHP);
pawn Код:
format(string,sizeof string,"HP Amount: %.1f",pHP);