05.12.2010, 12:42
(
Последний раз редактировалось Zh3r0; 05.12.2010 в 13:00.
)
0.3c Easy Colors
The easiest!
Instead of putting {RRGGBB} text and all that, i found a rather better way, which for me, it's the best so far.The easiest!
It just simple to use, you will see, i already made a #define list with some colors.
It will be easier to read the text you have written there, instead of reading always {FF9035} etc....
The define list with colors
pawn Код:
#define COL_EASY "{FFF1AF}"
#define COL_WHITE "{FFFFFF}"
#define COL_BLACK "{0E0101}"
#define COL_GREY "{C3C3C3}"
#define COL_GREEN "{6EF83C}"
#define COL_RED "{F81414}"
#define COL_YELLOW "{F3FF02}"
#define COL_ORANGE "{FFAF00}"
#define COL_LIME "{B7FF00}"
#define COL_CYAN "{00FFEE}"
#define COL_LIGHTBLUE "{00C0FF}"
#define COL_BLUE "{0049FF}"
#define COL_MAGENTA "{F300FF}"
#define COL_VIOLET "{B700FF}"
#define COL_PINK "{FF00EA}"
#define COL_MARONE "{A90202}"
#define COL_CMD "{B8FF02}"
#define COL_PARAM "{3FCD02}"
#define COL_SERVER "{AFE7FF}"
#define COL_VALUE "{A3E4FF}"
#define COL_RULE "{F9E8B7}"
#define COL_RULE2 "{FBDF89}"
#define COL_RWHITE "{FFFFFF}"
#define COL_LGREEN "{C9FFAB}"
#define COL_LRED "{FFA1A1}"
#define COL_LRED2 "{C77D87}"
Here is a small look.
pawn Код:
SendClientMessage ( playerid,-1, ""#COL_RED"TEXT"#COL_YELLOW" TEXT"#COL_BLUE" TEXT"#COL_MAGENTA" TEXT"#COL_VIOLET" TEXT"#COL_WHITE" TEXT" );
Copy paste into your gm and check it for yourself!
How to actually insert it?
Just simply add , exactly like this!
pawn Код:
"#COL_GREEN"
Like this
pawn Код:
SendClientMessage( playerid, -1, " "#COL_GREEN" This is Green! "#COL_RED" This is Red!! "#COL_BLUE" This is Blue!!");
You can make your own defines with a color picker found on internet!
If you find this not useful just tell me.
I hope this helps you.