You can do that by editing the Y dimension in the second textdraw, the one high lighted in red(385.706665), the smaller in gets the upper the textdraw is.
Код:
Status[2] = TextDrawCreate(492.952392, 385.706665, "Vehicle:");
TextDrawLetterSize(Status[2], 0.257999, 1.301334);
TextDrawAlignment(Status[2], 1);
TextDrawColor(Status[2], -1);
TextDrawSetShadow(Status[2], 0);
TextDrawSetOutline(Status[2], 1);
TextDrawBackgroundColor(Status[2], 51);
TextDrawFont(Status[2], 2);
TextDrawSetProportional(Status[2], 1);
pawn Код:
public OnFilterScriptInit()
{
SetTimer("OnSpeedoUpdate",1000,1); //Updates Speedo every 1 second
SpeedBox = TextDrawCreate(631.714294, 332.166656, "usebox");
TextDrawLetterSize(SpeedBox, 0.000000, 8.880372);
TextDrawTextSize(SpeedBox, 484.857147, 0.000000);
TextDrawAlignment(SpeedBox, 1);
TextDrawColor(SpeedBox, 0);
TextDrawUseBox(SpeedBox, true);
TextDrawBoxColor(SpeedBox, 102);
TextDrawSetShadow(SpeedBox, 0);
TextDrawSetOutline(SpeedBox, 0);
TextDrawFont(SpeedBox, 0);
kmhSpeed = TextDrawCreate(492.571472, 334.080017, " ");
TextDrawLetterSize(kmhSpeed, 0.326190, 1.493333);
TextDrawAlignment(kmhSpeed, 1);
TextDrawColor(kmhSpeed, -1);
TextDrawSetShadow(kmhSpeed, 0);
TextDrawSetOutline(kmhSpeed, 1);
TextDrawBackgroundColor(kmhSpeed, 51);
TextDrawFont(kmhSpeed, 2);
TextDrawSetProportional(kmhSpeed, 1);
Status[2] = TextDrawCreate(492.952392, 360.706665, "Vehicle:");
TextDrawLetterSize(Status[2], 0.257999, 1.301334);
TextDrawAlignment(Status[2], 1);
TextDrawColor(Status[2], -1);
TextDrawSetShadow(Status[2], 0);
TextDrawSetOutline(Status[2], 1);
TextDrawBackgroundColor(Status[2], 51);
TextDrawFont(Status[2], 2);
TextDrawSetProportional(Status[2], 1);
print("Speedometer by Ryder_Ballaz loaded!");
return 1;