30.04.2015, 22:26
Can you show me where you check the health?
Can't find it in your script.
Anyway, if you see HP 100 instead of 100.0 means that the variable is integer's type, switch it to Float.
Example:
new FloatlayerHealth;
GetPlayerHealth(playerid,playerHealth);
printf("%f",playerHealth);
Can't find it in your script.
Anyway, if you see HP 100 instead of 100.0 means that the variable is integer's type, switch it to Float.
Example:
new FloatlayerHealth;
GetPlayerHealth(playerid,playerHealth);
printf("%f",playerHealth);