How to do multi colors in textdraw select?
#6

Код HTML:
	Textdraw0 = TextDrawCreate(250.000000, 10.000000, "LD_DUAL:white");
	TextDrawBackgroundColor(Textdraw0, 255);
	TextDrawFont(Textdraw0, 4);
	TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
	TextDrawColor(Textdraw0, 297332991);
	TextDrawSetOutline(Textdraw0, 0);
	TextDrawSetProportional(Textdraw0, 1);
	TextDrawSetShadow(Textdraw0, 1);
	TextDrawUseBox(Textdraw0, 1);
	TextDrawBoxColor(Textdraw0, 297332991);
	TextDrawTextSize(Textdraw0, 116.000000, 21.000000);

	Textdraw1 = TextDrawCreate(250.000000, 10.000000, "LD_DUAL:white");
	TextDrawBackgroundColor(Textdraw1, 255);
	TextDrawFont(Textdraw1, 4);
	TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
	TextDrawColor(Textdraw1, 245222655);
	TextDrawSetOutline(Textdraw1, 0);
	TextDrawSetProportional(Textdraw1, 1);
	TextDrawSetShadow(Textdraw1, 1);
	TextDrawUseBox(Textdraw1, 1);
	TextDrawBoxColor(Textdraw1, 297332991);
	TextDrawTextSize(Textdraw1, 116.000000, 21.000000);
	TextDrawSetSelectable(Textdraw1, 1);

	TextDrawShowForPlayer(playerid, Textdraw0);
	TextDrawShowForPlayer(playerid, Textdraw1);
	SelectTextDraw(playerid, 0xFFFFFF4F);
if i change the color to black it shows black even if it is transparent
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)