SA-MP Forums Archive
RGB Colors To Pawn - 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: RGB Colors To Pawn (/showthread.php?tid=149972)



RGB Colors To Pawn - !CryWolf - 24.05.2010

Hey guys,
I was wondering how to compile/change an RGB color format to Pawn/Hex code.
I found this website (http://web.njit.edu/~kevin/rgb.txt.html).
please tell me how to covert it!
Thanks!


Re: RGB Colors To Pawn - dice7 - 24.05.2010

You have the hex code right there on that site


Re: RGB Colors To Pawn - MastahServers - 24.05.2010

Add that below #include <a_samp> (or the other #define you have)

pawn Code:
#define COLOR_'color' 0xRGB // Add the colorname (like Purple & Pink) on the area where it says 'color' - and at at RGB the hex



Re: RGB Colors To Pawn - !CryWolf - 24.05.2010

Thanks Seif.
I don't like the color picker thing, I Like to choose the color I need.