Help ! For REP+11111
#1

Hey Guys,
How can i add color to a dialog portion like this:


Thx in Advance
Avi.
Reply
#2

Use this colors:


Quote:

#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}"

Reply
#3

Use HEX Color Code "{RRGGBB}Stop Radio"

RR - Red;
GG - Green;
BB - Blue;

http://www.december.com/html/spec/colorhex.html

Enjoy.
Reply
#4

Thx both of u theres a rep +1
Reply
#5

Quote:
Originally Posted by Avi57
Посмотреть сообщение
Thx both of u theres a rep +1
You can use "PlayerColor" In Hex:

pawn Код:
format(string, sizeof(string),"Helo ! {%h}PlayerName", GetPlayerColor(playerid) >>> 8);
Exemple:

If's PlayerColor is equal "0xFF000FF", the ouput show's: "FF0000".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)