31.12.2016, 13:19
So I want to do multi colors in textdraw select like in video. At 23 - 26 sec.
https://www.youtube.com/watch?v=6oipyI2xDa8
https://www.youtube.com/watch?v=6oipyI2xDa8
So I want to do multi colors in textdraw select like in video. At 23 - 26 sec.
https://www.youtube.com/watch?v=6oipyI2xDa8 |
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);
I guess Textdraw1 is your transparent textdraw. But 297332991 does not seem to be transparent. Try color 0xFFFFFF00 for background and for BoxColor in textdraw1.
|
Yes, alpha is 255.
http://8.ct8.pl/color/?type=rgba&color=297332991&dec=1 |