TextDraw Problem :/
#1

Hi guys, recently i added a textdraw and it worked perfectly, now i tried to copy and paste the same code for the textdraw and set the cordinates of where the new one need to be, and for some reason the TextBox behind the text don't wanna show ... here is the both textdraws:

Original Textdraw which the textbox works behind the text:

Код:
		PlayerInfo[playerid][lbllightstext] = TextDrawCreate(173.000000,362.000000,"L");
		TextDrawUseBox(PlayerInfo[playerid][lbllightstext],1);
		TextDrawBoxColor(PlayerInfo[playerid][lbllightstext],0x000000cc);
		TextDrawTextSize(PlayerInfo[playerid][lbllightstext],178.000000,-9.000000);
		TextDrawAlignment(PlayerInfo[playerid][lbllightstext],0);
		TextDrawBackgroundColor(PlayerInfo[playerid][lbllightstext],0x000000ff);
		TextDrawFont(PlayerInfo[playerid][lbllightstext],2);
		TextDrawLetterSize(PlayerInfo[playerid][lbllightstext],0.199999,0.899999);
		TextDrawColor(PlayerInfo[playerid][lbllightstext],0xffffffff);
		TextDrawSetOutline(PlayerInfo[playerid][lbllightstext],1);
		TextDrawSetProportional(PlayerInfo[playerid][lbllightstext],1);
		TextDrawSetShadow(PlayerInfo[playerid][lbllightstext],1);
This is the textdraw i copied and paste and set the cordinates of first line only. other lines are exactly the same but i dunno why the textdraw dont show up for this one.

Код:
		PlayerInfo[playerid][lblhazardstext] = TextDrawCreate(181.000000,362.000000,"H");
		TextDrawUseBox(PlayerInfo[playerid][lblhazardstext],1);
		TextDrawBoxColor(PlayerInfo[playerid][lblhazardstext],0x000000cc);
		TextDrawTextSize(PlayerInfo[playerid][lblhazardstext],178.000000,-9.000000);
		TextDrawAlignment(PlayerInfo[playerid][lblhazardstext],0);
		TextDrawBackgroundColor(PlayerInfo[playerid][lblhazardstext],0x000000ff);
		TextDrawFont(PlayerInfo[playerid][lblhazardstext],2);
		TextDrawLetterSize(PlayerInfo[playerid][lblhazardstext],0.199999,0.899999);
		TextDrawColor(PlayerInfo[playerid][lblhazardstext],0xffffffff);
		TextDrawSetOutline(PlayerInfo[playerid][lblhazardstext],1);
		TextDrawSetProportional(PlayerInfo[playerid][lblhazardstext],1);
		TextDrawSetShadow(PlayerInfo[playerid][lblhazardstext],1);
If you guys would help me I really appriciate it and also i'll + rep to those that try to help.
Reply


Messages In This Thread
TextDraw Problem :/ - by silvan - 11.01.2013, 15:22
Re: TextDraw Problem :/ - by Buzzbomb - 11.01.2013, 15:29
Re: TextDraw Problem :/ - by silvan - 11.01.2013, 15:31
Re: TextDraw Problem :/ - by Buzzbomb - 11.01.2013, 15:53
Re: TextDraw Problem :/ - by silvan - 12.01.2013, 08:10
Re: TextDraw Problem :/ - by silvan - 13.01.2013, 17:05
Re: TextDraw Problem :/ - by silvan - 15.01.2013, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)