09.11.2014, 14:26
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
++
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);