21.05.2011, 22:36
Well, hello. I use floatround to convert a float to an integer (55.00 > 55) but I have this function:
My problem is that the textdraw always says
HDG: 1
It's always 1.
Thanks for your help.
pawn Код:
new Float:ZAngle = GetVehicleZAngle(GetPlayerVehicleID(i), ZAngle);
format(szString, 40, "HDG:~w~ %d", floatround(ZAngle, floatround_round));
TextDrawSetString(TD_8, szString);
HDG: 1
It's always 1.
Thanks for your help.