Center my textdraw
#1

Hello!

I have a textdraw for vehicles that shows speed.

When the speed is below 10 everything is good.

When it exceeds 10 and that it is below 100 km / h it shifts to the right, and when it exceeds 100, it is shifted further to the right.

How to focus my textdraw it does not shift right every time

++

pawn Код:
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 587.994506, 357.583343, "0"); // km/h
    PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
    PlayerTextDrawColor(playerid, Textdraw2[playerid], -1);
    PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 51);
    PlayerTextDrawFont(playerid, Textdraw2[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
Reply


Messages In This Thread
Center my textdraw - by Baltimore - 09.11.2014, 14:26
Re: Center my textdraw - by DavidBilla - 09.11.2014, 14:35
Re: Center my textdraw - by Baltimore - 09.11.2014, 17:15
Re: Center my textdraw - by DavidBilla - 09.11.2014, 17:21
Re: Center my textdraw - by Lorruan - 09.11.2014, 21:18
AW: Center my textdraw - by Nero_3D - 09.11.2014, 22:38
Re: Center my textdraw - by tommzy09 - 10.11.2014, 05:44

Forum Jump:


Users browsing this thread: 2 Guest(s)