05.04.2016, 05:44
I tried creating textdraws using iTD editor, but apart from a box textdraw i made, they're not showing up.
Here's 2 examples:
And this is the box i can actually see:
Here's 2 examples:
Код:
TD_Speedo_Speed[playerid] = CreatePlayerTextDraw(playerid, 212.444396, 429.084381, "Speed:"); PlayerTextDrawLetterSize(playerid, TD_Speedo_Speed[playerid], 0.300000, 1.600000); PlayerTextDrawAlignment(playerid, TD_Speedo_Speed[playerid], 1); PlayerTextDrawColor(playerid, TD_Speedo_Speed[playerid], -1); PlayerTextDrawSetShadow(playerid, TD_Speedo_Speed[playerid], 0); PlayerTextDrawSetOutline(playerid, TD_Speedo_Speed[playerid], 1); PlayerTextDrawBackgroundColor(playerid, TD_Speedo_Speed[playerid], 51); PlayerTextDrawFont(playerid, TD_Speedo_Speed[playerid], 3); PlayerTextDrawSetProportional(playerid, TD_Speedo_Speed[playerid], 1); TD_Speedo_Fuel[playerid] = CreatePlayerTextDraw(playerid, 35.000000, 429.084472, "Fuel:"); PlayerTextDrawLetterSize(playerid, TD_Speedo_Fuel[playerid], 0.300000, 1.600000); PlayerTextDrawAlignment(playerid, TD_Speedo_Fuel[playerid], 1); PlayerTextDrawColor(playerid, TD_Speedo_Fuel[playerid], -1); PlayerTextDrawSetShadow(playerid, TD_Speedo_Fuel[playerid], 0); PlayerTextDrawSetOutline(playerid, TD_Speedo_Fuel[playerid], 1); PlayerTextDrawBackgroundColor(playerid, TD_Speedo_Fuel[playerid], 51); PlayerTextDrawFont(playerid, TD_Speedo_Fuel[playerid], 3); PlayerTextDrawSetProportional(playerid, TD_Speedo_Fuel[playerid], 1);
Код:
TD_Speedo_Box[playerid] = CreatePlayerTextDraw(playerid, -7.333343, 451.988861, "usebox"); PlayerTextDrawLetterSize(playerid, TD_Speedo_Box[playerid], 0.000000, -3.315181); PlayerTextDrawTextSize(playerid, TD_Speedo_Box[playerid], 640.222290, 0.000000); PlayerTextDrawAlignment(playerid, TD_Speedo_Box[playerid], 1); PlayerTextDrawColor(playerid, TD_Speedo_Box[playerid], 0); PlayerTextDrawUseBox(playerid, TD_Speedo_Box[playerid], true); PlayerTextDrawBoxColor(playerid, TD_Speedo_Box[playerid], 102); PlayerTextDrawSetShadow(playerid, TD_Speedo_Box[playerid], 0); PlayerTextDrawSetOutline(playerid, TD_Speedo_Box[playerid], 0); PlayerTextDrawFont(playerid, TD_Speedo_Box[playerid], 0);