Conflict between TextDraws
#1

Hello guys, my question now , is still on TextDraws . The thing is, I have two TextDraws where coordinates have the same X and Y different , that is, they are side by side . I configured them to be selectable and so far so good . The problem is that the left TextDraw work, since not right . Why does this happen ? I do not know if it will help , but after 300 million tests I have found that when they occupy the same y-axis , ie , one on top of another , the two TextDraws SELECTABLE work.

TextDraw "A":
Код:
Text[21] = TextDrawCreate(212.200073, 329.533477, "A");
	TextDrawLetterSize(Text[21], 0.519598, 2.227200);
	TextDrawTextSize(Text[21], 291.999847, 15.680003);
	TextDrawAlignment(Text[21], 1);
	TextDrawColor(Text[21], -1);
	TextDrawUseBox(Text[21], true);
	TextDrawBoxColor(Text[21], 0);
	TextDrawSetShadow(Text[21], 0);
	TextDrawSetOutline(Text[21], 1);
	TextDrawBackgroundColor(Text[21], 51);
	TextDrawFont(Text[21], 1);
	TextDrawSetProportional(Text[21], 1);
TextDraw "B":
Код:
Text[19] = TextDrawCreate(337.999694, 328.293640, "B");
	TextDrawLetterSize(Text[19], 0.519598, 2.227200);
	TextDrawTextSize(Text[19], 291.999847, 15.680003);
	TextDrawAlignment(Text[19], 1);
	TextDrawColor(Text[19], -1);
	TextDrawUseBox(Text[19], true);
	TextDrawBoxColor(Text[19], 0);
	TextDrawSetShadow(Text[19], 0);
	TextDrawSetOutline(Text[19], 1);
	TextDrawBackgroundColor(Text[19], 51);
	TextDrawFont(Text[19], 1);
	TextDrawSetProportional(Text[19], 1);
	TextDrawSetSelectable(Text[19], true);
NOTE: In this code , they are next to each other , ie , ARE NOT WORKING .
Note 2 : When I say work , I am referring to them are selectable. Running = Performs the operation when I click on TextDraw .

FOR FOLKS PLEASE , I'm racking my brain to get put away , but difficult ta ...
Reply


Messages In This Thread
Conflict between TextDraws - by RafaelOsio - 13.02.2015, 12:33
Re: Conflict between TextDraws - by vassilis - 13.02.2015, 12:43
Re: Conflict between TextDraws - by RafaelOsio - 13.02.2015, 12:51
AW: Conflict between TextDraws - by Nero_3D - 13.02.2015, 13:29
Re: Conflict between TextDraws - by RafaelOsio - 13.02.2015, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)