04.07.2013, 14:39
Hello. I set my health with "SetPlayerHealth(playerid, 9999.0)" and then I check if my health is less then 100 with
And fore some reason it returns that message, even though my health is "9999.0"! And then, when I set it to "99999.0" it's OK! What's the deal?
Код:
new Float:pHealth; GetPlayerHealth(playerid, Float:pHealth); if (pHealth < 100.0) return SendClientMessage(playerid, COLOR_RED, "You must be at full health to use this.");