12.07.2009, 23:14
If you used the wiki you'd realise that's not how GetPlayerHealth works.
https://sampwiki.blast.hk/wiki/GetPlayerHealth
GetPlayerHealth(playerid,Float:health);
So you'd have to use:
New Float:Health;
GetPlayerHealth(playerid, Health);
if(Health == 0) //blah
https://sampwiki.blast.hk/wiki/GetPlayerHealth
GetPlayerHealth(playerid,Float:health);
So you'd have to use:
New Float:Health;
GetPlayerHealth(playerid, Health);
if(Health == 0) //blah

