07.06.2009, 10:33
You could convert the float to an integer, then loop strcat to add a dot each time, and then send the string this makes.
eg:
Very Untested.
eg:
pawn Код:
new Float:Health, iHealth, LString[105];
GetPlayerHealth(playerid,Health);
iHealth = floatround(Health, floatround_ceil);
for(new i; i < iHealth; i++)
{
strcat(LString, ".");
}

