Float to integer?
#2

pawn Код:
new Float:hp, string[10];
GetPlayerHealth(playerid, hp);
format(string, sizeof (string), "%i", floatround(hp, floatround_round);
TextDrawSetString(Text:hptxt, string);
Reply


Messages In This Thread
Float to integer? - by DaniceMcHarley - 27.07.2014, 15:44
Re: Float to integer? - by Stinged - 27.07.2014, 15:52
Re: Float to integer? - by DaniceMcHarley - 27.07.2014, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)