Hex Colors?
#1

I have a question for exemple in SendClientMessage(playerid, COLORblalbabl, " {color?} Hey, dude ");

What kind of code i have to use inside the brakets?
Reply
#2

Use RGB Hex Color codes.

This is how a color code may look like: 0xRRGGBBAA

Indicating characters (A hex won't have R & G, it only ranges from A,B,C,D,E,F & Integers):
R = Red Hex Code
G = Green Hex Code
B = Blue Hex Code
A = Alpha Hex Code

For embedding the codes in strings, use it like this: {RRGGBB}
Example:
pawn Код:
new string[] = "{00FF00}Hello {0000FF}World!"; SendClientMessage(playerid, -1, string);
will print: Hello World!

Search in ****** for Color Codes and you'll find many websites showing them...
Reply
#3

Thanks a lot man
Reply
#4

I didnt find anything about it can you send me a link?
Reply
#5

http://www.colorpicker.com/ there you have a link.
Reply
#6

for the hex colors try this http://www.psyclops.com/tools/rgb/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)