why the textDraw doesn't show transparant? The color is transparant.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: why the textDraw doesn't show transparant? The color is transparant.. (
/showthread.php?tid=91882)
why the textDraw doesn't show transparant? The color is transparant.. -
RyDeR` - 17.08.2009
Код:
Ya[i] = TextDrawCreate(21.000000,102.000000," ");
TextDrawUseBox(Ya[i],1);
TextDrawBoxColor(Ya[i],0x00000099);
TextDrawTextSize(Ya[i],223.000000,0.000000);
TextDrawAlignment(Ya[i],0);
TextDrawBackgroundColor(Ya[i],0x000000ff);
TextDrawFont(Ya[i],1);
TextDrawLetterSize(Ya[i],0.499999,1.800000);
TextDrawColor(Ya[i],0xffffffff);
TextDrawSetProportional(Ya[i],1);
TextDrawSetShadow(Ya[i],1);
This is the TextDraw, the color is transparant, when I made this, it was transparant after save and use isn't it? why?
Re: why the textDraw doesn't show transparant? The color is transparant.. - Zeex - 17.08.2009
pawn Код:
TextDrawColor(Ya[i], 0xffffffff);
0xFFFFFFFF is not transparent, use something like 0xFFFFFF55. Change last two numbers to increase/decrease transparency.
Re: why the textDraw doesn't show transparant? The color is transparant.. -
RyDeR` - 17.08.2009
Quote:
Originally Posted by zee~
pawn Код:
TextDrawColor(Ya[i], 0xffffffff);
0xFFFFFFFF is not transparent, use something like 0xFFFFFF55. Change last two numbers to increase/decrease transparency.
|
TextDrawBoxColor(Ya[i],0x00000099); This is the box.