TextDraw Hover all Textdraws??
#1

Heey all,

I have a SelectTextDraw Problem.
I made menu to choose your team but when i Select on text 2 it selects text 1 to and when i select text 3 its selects text 1 and 2.
Example:
Код:
---//this is colored
---//this is colored
---//i select this:this is colored
---
---
---
How can i fix this?

Thanks Admigo
Reply
#2

Make the text area smaller with (Player)TextDrawTextSize.
Reply
#3

Can you give a example with my 2 textdraws?
Код:
TextDraw3= TextDrawCreate(240.0, 161.0, "(1) EUROPE : 0");//161
	TextDrawColor(TextDraw3,0xFFFF00AA);
	TextDrawFont(TextDraw3, 1);
	TextDrawTextSize(TextDraw3,400.000000, 400.000000);//510
	TextDrawLetterSize(TextDraw3,0.50,1.500000);//0.5
	TextDrawSetShadow(TextDraw3, 0);
	TextDrawSetOutline(TextDraw3,1);
	//TextDrawAlignment(TextDraw3,2);

	TextDraw4= TextDrawCreate(240.0, 175.0, "(2) USA : 0");//175
	TextDrawColor(TextDraw4,0x33CCFFAA);
	TextDrawFont(TextDraw4, 1);
	TextDrawTextSize(TextDraw4,400.000000, 400.000000);//510
	TextDrawLetterSize(TextDraw4,0.5,1.500000);//0.8
	TextDrawSetShadow(TextDraw4, 0);
	TextDrawSetOutline(TextDraw4,1);
	//TextDrawAlignment(TextDraw4,2);
Reply
#4

Quote:
Originally Posted by admigo
Посмотреть сообщение
Can you give a example with my 2 textdraws?
Код:
TextDraw3= TextDrawCreate(240.0, 161.0, "(1) EUROPE : 0");//161
	TextDrawColor(TextDraw3,0xFFFF00AA);
	TextDrawFont(TextDraw3, 1);
	TextDrawTextSize(TextDraw3,400.000000, 400.000000);//510
	TextDrawLetterSize(TextDraw3,0.50,1.500000);//0.5
	TextDrawSetShadow(TextDraw3, 0);
	TextDrawSetOutline(TextDraw3,1);
	//TextDrawAlignment(TextDraw3,2);

	TextDraw4= TextDrawCreate(240.0, 175.0, "(2) USA : 0");//175
	TextDrawColor(TextDraw4,0x33CCFFAA);
	TextDrawFont(TextDraw4, 1);
	TextDrawTextSize(TextDraw4,400.000000, 400.000000);//510
	TextDrawLetterSize(TextDraw4,0.5,1.500000);//0.8
	TextDrawSetShadow(TextDraw4, 0);
	TextDrawSetOutline(TextDraw4,1);
	//TextDrawAlignment(TextDraw4,2);
Try enabling TextDrawUseBox and see for yourself if they overlap each other! The box of each textdraw is the clickable area of the said textdraw. You might not be able to see which box is what so maybe even give each box a different color. TextDrawBoxColor.

Currently your clickable area is 400x400 for each of your textdraws.
Reply
#5

U know a good size that works?
Reply
#6

Try, 10.0, 10.0. It might not work for you though but it's worth a shot.
Reply
#7

Same problem with me. Any solutions?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)