Textdraws not showing up
#1

I tried creating textdraws using iTD editor, but apart from a box textdraw i made, they're not showing up.

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);
And this is the box i can actually see:
Код:
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);
Reply


Messages In This Thread
Textdraws not showing up - by CalvinC - 05.04.2016, 05:44
Re: Textdraws not showing up - by AmigaBlizzard - 05.04.2016, 06:50
Re: Textdraws not showing up - by CalvinC - 05.04.2016, 14:36
Re: Textdraws not showing up - by CalvinC - 09.04.2016, 17:04
Re: Textdraws not showing up - by CalvinC - 09.04.2016, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)