SA-MP Forums Archive
TextDrawBoxColor(HELP) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: TextDrawBoxColor(HELP) (/showthread.php?tid=631065)



TextDrawBoxColor(HELP) - JuzDoiT - 22.03.2017

How to make , transparent Color On this Textdraw?

Quote:

Menu_Title[i] = TextDrawCreate(125.000000, 120.000000, " ");
TextDrawAlignment(Menu_Title[i], 2);
TextDrawBackgroundColor(Menu_Title[i], 110);
TextDrawFont(Menu_Title[i], 3);
TextDrawLetterSize(Menu_Title[i], 0.410000, 0.899999);
TextDrawColor(Menu_Title[i], -1);
TextDrawSetOutline(Menu_Title[i], 1);
TextDrawSetProportional(Menu_Title[i], 1);
TextDrawSetShadow(Menu_Title[i], 1);
TextDrawUseBox(Menu_Title[i], 1);
TextDrawBoxColor(Menu_Title[i], 0x804040FF);
TextDrawTextSize(Menu_Title[i], 0.000000, 222.000000);




Re: TextDrawBoxColor(HELP) - Kraeror - 22.03.2017

Hello! The last characters of box color(0x804040FF) is transparent! When they are "FF" as in this case, the color is solid! You can change them and this you can do from here!
I hope this will help you!
>>>>Special thanks, kraeror<<<<