Help with rgba2hex - 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: Help with rgba2hex (
/showthread.php?tid=68016)
Help with rgba2hex -
MenaceX^ - 06.03.2009
I have made one, this is the code.
pawn Код:
#define COLOR_NICE rgba2hex(77,177,127,227)
But I need the varieble to find the rgba2hex code. I searched and found nothing.
If I try to complie it. It says it doesn't find it.
pawn Код:
error 017: undefined symbol "rgba2hex"
Thank for helpers.
Re: Help with rgba2hex -
RyDeR` - 06.03.2009
Use:
In the Top of the script.
Re: Help with rgba2hex -
MenaceX^ - 06.03.2009
Bah. If you haven't knowloadge. Keep your replies awar.
Re: Help with rgba2hex -
ICECOLDKILLAK8 - 06.03.2009
Convert the rgb code to hex using a program before you put it in the script
Re: Help with rgba2hex -
MenaceX^ - 06.03.2009
You don't help me. I just need the function of rgb.
And which convert are you talking about? JankStaX
Re: Help with rgba2hex -
ICECOLDKILLAK8 - 06.03.2009
There are hundreds of programs that convert rgb to hex, Why would you wanna do it in Pawn?
Re: Help with rgba2hex -
MenaceX^ - 06.03.2009
Yes, I guess.