GetPlayerHealth a Una variable tipo Flotante
#3

pawn Код:
new Float:health;
GetPlayerHealth(playerid, health);

new vida = floatround(health);

printf("float %f - entero %i", health, vida);
No se entiende cual es el problema que tenes. Y si el problema es tu cуdigo, no somos adivinos...

Con el printf podes comprobar si te los da correctos o no.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)