SA-MP Forums Archive
Textdraw transparency problem.. - 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: Textdraw transparency problem.. (/showthread.php?tid=631506)



Textdraw transparency problem.. - LeeXx - 30.03.2017

Hello
The problem here is when I try to change the textdraw box to a transparent color, it changes the color to a different one.
I'm trying to make it black and transparent but it changes to either transparent blue, or white I have no idea why..
And I read the article in samp wiki about the colors and if i learnt that when i set the transparency to 00,the textdraw will be invisible.
0xFFFFFF00
But when I set it higher like this for example 88.(0xFFFFFF88)It should make it dark transparent color, but when i tested it, it changes to color blue.

Any idea why?


Re: Textdraw transparency problem.. - LeeXx - 31.03.2017

Anyone?


Re: Textdraw transparency problem.. - coool - 31.03.2017

Textdraw's color is in ARGB form means the transparency is in first so:
Quote:

0xFFFFFF88

will be change to
Quote:

0x88FFFFFF




Re: Textdraw transparency problem.. - LeeXx - 31.03.2017

It's still the sampe problem, it changes the color to blue, not even transparent :/


Re: Textdraw transparency problem.. - LeeXx - 31.03.2017

Never mind it's fixed,

The colour. Opacity is set by the alpha intensity of colour (eg. color 0x000000FF has a solid black box opacity, whereas 0x000000AA has a semi-transparent black box opacity).