Question About Textdraw/Positions [SOLVED]
#1

Hi...
I just wanted to make a textdraw which show's you the ZAngle of your vehicle, but it shows me something like: 90.91932 now.
How can i make it show only "90"?

(i got this:
new Float:az, string[256];
TextDrawDestroy(tpanel);
TextDrawHideForPlayer(playerid, tpanel);
GetVehicleZAngle(v, az);
format(string, sizeof(string), "%f", az);
tpanel= TextDrawCreate(200.0, 200.2, string);
TextDrawFont(tpanel, 1);
TextDrawSetOutline(tpanel, 1);
TextDrawColor(tpanel, GREEN);
)

Thx

TextDrawShowForPlayer(playerid, tpanel);
Reply


Messages In This Thread
Question About Textdraw/Positions [SOLVED] - by Sascha - 25.04.2010, 13:28
Re: Question About Textdraw/Positions - by Nero_3D - 25.04.2010, 13:33
Re: Question About Textdraw/Positions - by Sascha - 25.04.2010, 13:36
Re: Question About Textdraw/Positions - by Sascha - 25.04.2010, 13:46
Re: Question About Textdraw/Positions - by woot - 25.04.2010, 13:52
Re: Question About Textdraw/Positions - by Sascha - 25.04.2010, 13:58
Re: Question About Textdraw/Positions - by Rac3r - 25.04.2010, 14:02
Re: Question About Textdraw/Positions - by Sascha - 25.04.2010, 14:06

Forum Jump:


Users browsing this thread: 1 Guest(s)