05.09.2015, 13:07
I have a variable for the players Health.
(PlayerInfo[playerid][Health]).
It loads perfectly when they log in, however, when they take damage, this happens:

I've tried using floatround, but that doesn't work.
floatround(PlayerInfo[playerid][Health] -= floatround(amount));
I've never really used floatround so please let me know if I'm using it incorrectly.
(PlayerInfo[playerid][Health]).
It loads perfectly when they log in, however, when they take damage, this happens:

I've tried using floatround, but that doesn't work.
floatround(PlayerInfo[playerid][Health] -= floatround(amount));
I've never really used floatround so please let me know if I'm using it incorrectly.