View Single Post
Old 11/04/2015, 02:43 PM   #1
Kathleen
Big Clucker
 
Kathleen's Avatar
 
Join Date: May 2012
Location: Netherlands
Posts: 191
Reputation: 31
Question Help with Textdraw Selectable.

Hello,

I am not able to get those boxes selectable.
May anyone help me with it... I guess the problem is TextSize but i don't exactly know how it works.

Code:
	Lobby2 = TextDrawCreate(146.000030, 93.174102, "Option 1");
	TextDrawLetterSize(Lobby2, 0.000000, 0.929835);
	TextDrawTextSize(Lobby2, 31.333339, 0.000000);
	TextDrawAlignment(Lobby2, 1);
	TextDrawColor(Lobby2, 0);
	TextDrawUseBox(Lobby2, true);
	TextDrawBoxColor(Lobby2, -1378294017);
	TextDrawSetShadow(Lobby2, 0);
	TextDrawSetOutline(Lobby2, 0);
	TextDrawFont(Lobby2, 0);
	TextDrawSetSelectable(Lobby2, true);

	Lobby6 = TextDrawCreate(147.000015, 122.381523, "Option 2");
	TextDrawLetterSize(Lobby6, 0.000000, 0.929835);
	TextDrawTextSize(Lobby6, 31.333339, 0.000000);
	TextDrawAlignment(Lobby6, 1);
	TextDrawColor(Lobby6, 0);
	TextDrawUseBox(Lobby6, true);
	TextDrawBoxColor(Lobby6, -5963521);
	TextDrawSetShadow(Lobby6, 0);
	TextDrawSetOutline(Lobby6, 0);
	TextDrawFont(Lobby6, 0);
	TextDrawSetSelectable(Lobby6, true);

	Lobby7 = TextDrawCreate(148.000015, 150.759292, "Option 3");
	TextDrawLetterSize(Lobby7, 0.000000, 0.929835);
	TextDrawTextSize(Lobby7, 31.333335, 0.000000);
	TextDrawAlignment(Lobby7, 1);
	TextDrawColor(Lobby7, 0);
	TextDrawUseBox(Lobby7, true);
	TextDrawBoxColor(Lobby7, 65535);
	TextDrawSetShadow(Lobby7, 0);
	TextDrawSetOutline(Lobby7, 0);
	TextDrawFont(Lobby7, 0);
	TextDrawSetSelectable(Lobby7, true);

	Lobby8 = TextDrawCreate(149.000015, 179.966674, "Option 4");
	TextDrawLetterSize(Lobby8, 0.000000, 0.929835);
	TextDrawTextSize(Lobby8, 31.333335, 0.000000);
	TextDrawAlignment(Lobby8, 1);
	TextDrawColor(Lobby8, 0);
	TextDrawUseBox(Lobby8, true);
	TextDrawBoxColor(Lobby8, 8388863);
	TextDrawSetShadow(Lobby8, 0);
	TextDrawSetOutline(Lobby8, 0);
	TextDrawFont(Lobby8, 0);
	TextDrawSetSelectable(Lobby8, true);
Kathleen is offline   Reply With Quote