Float to integer?
#1

I've tried to to do this but leads me into a tag mismatch.
pawn Код:
new Float:hp = GetPlayerHealthEx(playerid),string[10];
    hp = floatround(hp,floatround_round);
    new integer:i;
    i = hp;
    format(string,sizeof(string),"%i",i);
    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)