13.11.2012, 03:52
pawn Код:
new Float:health;
GetPlayerHealth(playerid, health);
new vida = floatround(health);
printf("float %f - entero %i", health, vida);
Con el printf podes comprobar si te los da correctos o no.
new Float:health;
GetPlayerHealth(playerid, health);
new vida = floatround(health);
printf("float %f - entero %i", health, vida);