Is there any function to change some color transparency - 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: Is there any function to change some color transparency (
/showthread.php?tid=534934)
Is there any function to change some color transparency -
Magic_Time - 01.09.2014
Hi, I'd like to know if there's a function to change a color transparency, I've searched however I can't find one.
Re: Is there any function to change some color transparency -
IceBilizard - 01.09.2014
like this?
https://sampwiki.blast.hk/wiki/Colors_List
Re: Is there any function to change some color transparency -
SickAttack - 01.09.2014
Just modify the last 2 characters on a color hex code.
Examples:
- 0xFFFFFFFF - 0% transparent.
- 0xFFFFFF30 - 70% transparent.
- 0xFFFFFF90 - 10% transparent.
Re: Is there any function to change some color transparency -
Magic_Time - 01.09.2014
Made my own function.
Thanks anyways.