Box does not go invisible
#1

I want to leave this box clickable and invisible, but it is getting all white, could anyone help me?

Код:
	ListBox[0] = TextDrawCreate(76.639778, 191.216567, "LD_SPAC:white");
	TextDrawLetterSize(ListBox[0], 0.000000, 0.000000);
	TextDrawTextSize(ListBox[0], 144.850631, 15.340006);
	TextDrawAlignment(ListBox[0], 1);
	TextDrawColor(ListBox[0], 0xFFFFFF00);
	TextDrawSetShadow(ListBox[0], 0);
	TextDrawSetOutline(ListBox[0], 0);
	TextDrawBackgroundColor(ListBox[0], 0xFFFFFF00);
	TextDrawBoxColor(ListBox[0], 0xFFFFFF00);
	TextDrawFont(ListBox[0], 4);
	TextDrawSetProportional(ListBox[0], 0);
	TextDrawSetShadow(ListBox[0], 0);
	TextDrawSetSelectable(ListBox[0], true);
Reply
#2

Try setting TextDrawColor to -1 and Background color to 255
Reply
#3

Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
Try setting TextDrawColor to -1 and Background color to 255
It did not work, it's still the same
Reply
#4

TextDrawBackgroundColor
TextDrawBoxColor

both to 0x0

do not set
TextDrawColor

try that
Reply
#5

Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
Try setting TextDrawColor to -1 and Background color to 255
Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
TextDrawBackgroundColor
TextDrawBoxColor

both to 0x0

do not set
TextDrawColor

try that
Still the same thing, but it got a bit clearer, I removed "LD_SPAC:white" and the box disappeared, but I returned

Код:
	ListBox[0] = TextDrawCreate(76.639778, 191.216567, "LD_SPAC:white");
	TextDrawLetterSize(ListBox[0], 0.000000, 0.000000);
	TextDrawTextSize(ListBox[0], 144.850631, 15.340006);
	TextDrawAlignment(ListBox[0], 1);
	TextDrawSetShadow(ListBox[0], 0);
	TextDrawSetOutline(ListBox[0], 0);
	TextDrawBackgroundColor(ListBox[0], 0x0);
	TextDrawBoxColor(ListBox[0], 0x0);
	TextDrawFont(ListBox[0], 4);
	TextDrawSetProportional(ListBox[0], 0);
	TextDrawSetShadow(ListBox[0], 0);
	TextDrawSetSelectable(ListBox[0], true);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)