SA-MP Forums Archive
Message Color [Need Help] ! I will rep!!! - 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: Message Color [Need Help] ! I will rep!!! (/showthread.php?tid=570876)



Message Color [Need Help] ! I will rep!!! - Chausar - 14.04.2015

i'm using COLOR_RED, COLOR_GREEN, COLOR_BLUE ...but i dont know what this code called
Код:
{FFFFFF} << its white color.
the problem is how can i do like this?

Код:
SendClientMessage(playerid,-1,"Welcome to {COLOR_BLUE} San Fierro Roleplay!
i tried that but not worked... is there anywhere i can convert the COLOR_BLUE to like this with brackets? {COLOR_BLUE}


Re: Message Color [Need Help] ! I will rep!!! - NoDi522 - 14.04.2015

You should go to: www.colorpicker.com

At the website you choose your color and right up there code will be showed to you.

You copy the code (example): IIELKF (instead of this IIELKF you put your code) and in pawno at the top:

#define COLOR_BLUE {IIELKF} // Instead IIELKF color code


Re: Message Color [Need Help] ! I will rep!!! - R0 - 14.04.2015

go to colorpicker.com and pick the color,copy the code of it and put it in the brackets


Re : Message Color [Need Help] ! I will rep!!! - AlexBlack - 14.04.2015

Quote:

#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COL_BLUE "{1229FA}"
#define COL_WHITE "{FFFFFF}"
#define COL_ORA "{E0A21B}"
#define COL_YELLOW "{F5E618}"
#define CHAT_WHITE "{FFFFFF}"

i have find this if that can help you.


Re: Message Color [Need Help] ! I will rep!!! - Sithis - 14.04.2015

Define the colors as described above and you will be able to use them like you want.