PAWNO Colors
#1

How can I place a color in a middle of a message like
SendClientMessage(playerid, COLOR_WHITE, " Welcome, on [orange]My Server,[white again] have fun!");
?
Reply
#2

https://sampwiki.blast.hk/wiki/Colour_Embedding this should help you.
Reply
#3

pawn Код:
#define white "{FFFFFF}"
#define orange "{FF9900}"

"SendClientMessage(playerid, COLOR_WHITE, " Welcome, on "orange"My Server,"white" have fun!");"
here u go
Reply
#4

And where I can find them all?
Reply
#5

Код:
#define GREY {AFAFAF}
#define GREEN {33AA33}
#define RED {AA3333}
#define YELLOW {FFFF00}
#define WHITE {FFFFFF}
#define BLUE {0000BB}
#define LIGHTBLUE {33CCFF}
#define ORANGE {FF9900}
#define RED {AA3333}
#define LIME {10F441}
#define MAGENTA {FF00FF}
#define NAVY {000080}
#define AQUA {F0F8FF}
#define CRIMSON {DC143C}
#define FLBLUE {6495ED}
#define BISQUE {FFE4C4}
#define BLACK {000000}
#define CHARTREUSE {7FFF00}
#define BROWN {A52A2A}
#define CORAL {FF7F50}
#define GOLD {B8860B}
#define GREENYELLOW {ADFF2F}
#define INDIGO {4B00B0}
#define IVORY {FFFF82}
#define LAWNGREEN {7CFC00}
#define SEAGREEN {20B2AA}
#define LIMEGREEN {32CD32A}
#define MIDNIGHTBLUE {191970}
#define MAROON {800000}
#define OLIVE {808000}
#define ORANGERED {FF4500}
#define PINK {FFC0CBA}
#define SEAGREEN {2E8B57}
#define SPRINGGREEN {00FF7F}
#define TOMATO {FF6347A}
#define YELLOWGREEN {9ACD32A}
#define MEDIUMAQUA {83BFBF}
#define MEDIUMMAGENTA {8B008B}
#define GREY {AFAFAF}
#define ACTIVEBORDER {B4B4B4}
#define ACTIVECAPTION {99B4D1}
#define ACTIVECAPTIONTEXT {000000}
#define ALICEBLUE {F0F8FF}
#define ANTIQUEWHITE {FAEBD7}
#define APPWORKSPACE {ABABAB}
#define AQUA {00FFFF}
#define AQUAMARINE {7FFFD4}
#define AZURE {F0FFFF}
#define BEIGE {F5F5DC}
#define BISQUE {FFE4C4}
#define BLACK {000000}
#define BLANCHEDALMOND {FFEBCD}
#define BLUE {0000FF}
#define BLUEVIOLET {8A2BE2}
#define BROWN {A52A2A}
#define BURLYWOOD {DEB887}
#define BUTTONFACE {F0F0F0}
#define BUTTONHIGHLIGHT {FFFFFF}
#define BUTTONSHADOW {A0A0A0}
#define CADETBLUE {5F9EA0}
#define CHARTREUSE {7FFF00}
#define CHOCOLATE {D2691E}
#define CONTROL {F0F0F0}
#define CONTROLDARK {A0A0A0}
#define CONTROLDARKDARK {696969}
#define CONTROLLIGHT {E3E3E3}
#define CONTROLLIGHTLIGHT {FFFFFF}
#define CONTROLTEXT {000000}
#define CORAL {FF7F50}
#define CORNFLOWERBLUE {6495ED}
#define CORNSILK {FFF8DC}
#define CRIMSON {DC143C}
#define CYAN {00FFFF}
#define DARKBLUE {00008B}
#define DARKCYAN {008B8B}
#define DARKGOLDENROD {B8860B}
#define DARKGRAY {A9A9A9}
#define DARKGREEN {006400}
#define DARKKHAKI {BDB76B}
#define DARKMAGENTA {8B008B}
#define DARKOLIVEGREEN {556B2F}
#define DARKORANGE {FF8C00}
#define DARKORCHID {9932CC}
#define DARKRED {8B0000}
#define DARKSALMON {E9967A}
#define DARKSEAGREEN {8FBC8B}
#define DARKSLATEBLUE {483D8B}
#define DARKSLATEGRAY {2F4F4F}
#define DARKTURQUOISE {00CED1}
#define DARKVIOLET {9400D3}
#define DEEPPINK {FF1493}
#define DEEPSKYBLUE {00BFFF}
#define DESKTOP {000000}
#define DIMGRAY {696969}
#define DODGERBLUE {1E90FF}
#define FIREBRICK {B22222}
#define FLORALWHITE {FFFAF0}
#define FORESTGREEN {228B22}
#define FUCHSIA {FF00FF}
#define GAINSBORO {DCDCDC}
#define GHOSTWHITE {F8F8FF}
#define GOLD {FFD700}
#define GOLDENROD {DAA520}
#define GRADIENTACTIVECAPTION {B9D1EA}
#define GRADIENTINACTIVECAPTION {D7E4F2}
#define GRAY {808080}
#define GRAYTEXT {808080}
#define GREEN {008000}
#define GREENYELLOW {ADFF2F}
#define HIGHLIGHT {3399FF}
#define HIGHLIGHTTEXT {FFFFFF}
#define HONEYDEW {F0FFF0}
#define HOTPINK {FF69B4}
#define HOTTRACK {0066CC}
#define INACTIVEBORDER {F4F7FC}
#define INACTIVECAPTION {BFCDDB}
#define INACTIVECAPTIONTEXT {434E54}
#define INDIANRED {CD5C5C}
#define INDIGO {4B0082}
#define INFO {FFFFE1}
#define INFOTEXT {000000}
#define IVORY {FFFFF0}
#define KHAKI {F0E68C}
#define LAVENDER {E6E6FA}
#define LAVENDERBLUSH {FFF0F5}
#define LAWNGREEN {7CFC00}
#define LEMONCHIFFON {FFFACD}
#define LIGHTBLUE {ADD8E6}
#define LIGHTCORAL {F08080}
#define LIGHTCYAN {E0FFFF}
#define LIGHTGOLDENRODYELLOW {FAFAD2}
#define LIGHTGRAY {D3D3D3}
#define LIGHTGREEN {90EE90}
#define LIGHTPINK {FFB6C1}
#define LIGHTSALMON {FFA07A}
#define LIGHTSEAGREEN {20B2AA}
#define LIGHTSKYBLUE {87CEFA}
#define LIGHTSLATEGRAY {778899}
#define LIGHTSTEELBLUE {B0C4DE}
#define LIGHTYELLOW {FFFFE0}
#define LIME {00FF00}
#define LIMEGREEN {32CD32}
#define LINEN {FAF0E6}
#define MAGENTA {FF00FF}
#define MAROON {800000}
#define MEDIUMAQUAMARINE {66CDAA}
#define MEDIUMBLUE {0000CD}
#define MEDIUMORCHID {BA55D3}
#define MEDIUMPURPLE {9370DB}
#define MEDIUMSEAGREEN {3CB371}
#define MEDIUMSLATEBLUE {7B68EE}
#define MEDIUMSPRINGGREEN {00FA9A}
#define MEDIUMTURQUOISE {48D1CC}
#define MEDIUMVIOLETRED {C71585}
#define MENU {F0F0F0}
#define MENUBAR {F0F0F0}
#define MENUHIGHLIGHT {3399FF}
#define MENUTEXT {000000}
#define MIDNIGHTBLUE {191970}
#define MINTCREAM {F5FFFA}
#define MISTYROSE {FFE4E1}
#define MOCCASIN {FFE4B5}
#define NAVAJOWHITE {FFDEAD}
#define NAVY {000080}
#define OLDLACE {FDF5E6}
#define OLIVE {808000}
#define OLIVEDRAB {6B8E23}
#define ORANGE {FFA500}
#define ORANGERED {FF4500}
#define ORCHID {DA70D6}
#define PALEGOLDENROD {EEE8AA}
#define PALEGREEN {98FB98}
#define PALETURQUOISE {AFEEEE}
#define PALEVIOLETRED {DB7093}
#define PAPAYAWHIP {FFEFD5}
#define PEACHPUFF {FFDAB9}
#define PERU {CD853F}
#define PINK {FFC0CB}
#define PLUM {DDA0DD}
#define POWDERBLUE {B0E0E6}
#define PURPLE {800080}
#define RED {FF0000}
#define ROSYBROWN {BC8F8F}
#define ROYALBLUE {4169E1}
#define SADDLEBROWN {8B4513}
#define SALMON {FA8072}
#define SANDYBROWN {F4A460}
#define SCROLLBAR {C8C8C8}
#define SEAGREEN {2E8B57}
#define SEASHELL {FFF5EE}
#define SIENNA {A0522D}
#define SILVER {C0C0C0}
#define SKYBLUE {87CEEB}
#define SLATEBLUE {6A5ACD}
#define SLATEGRAY {708090}
#define SNOW {FFFAFA}
#define SPRINGGREEN {00FF7F}
#define STEELBLUE {4682B4}
#define TAN {D2B48C}
#define TEAL {008080}
#define THISTLE {D8BFD8}
#define TOMATO {FF6347}
#define TRANSPARENT {FFFFFF}
#define TURQUOISE {40E0D0}
#define VIOLET {EE82EE}
#define WHEAT {F5DEB3}
#define WHITE {FFFFFF}
#define WHITESMOKE {F5F5F5}
#define WINDOW {FFFFFF}
#define WINDOWFRAME {646464}
#define WINDOWTEXT {000000}
#define YELLOW {FFFF00}
#define YELLOWGREEN {9ACD32}
#define STEALTH_ORANGE {FF8800}
#define STEALTH_OLIVE {666600}
#define STEALTH_GREEN {33DD11}
#define STEALTH_PINK {FF22EE}
#define STEALTH_BLUE {0077BB}
Reply
#6

Quote:
Originally Posted by hamzajaved780
Посмотреть сообщение
Код:
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0XA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA
#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_SEAGREEN 0x20B2AAAA
#define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
#define COLOR_MIDNIGHTBLUE 0X191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA // - Light light pink
#define COLOR_SEAGREEN 0x2E8B57AA
#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
#define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^
#define COLOR_GREY 0xAFAFAFAA
// System Defined Colors
#define COLOR_ACTIVEBORDER 0xB4B4B4FF
#define COLOR_ACTIVECAPTION 0x99B4D1FF
#define COLOR_ACTIVECAPTIONTEXT 0x000000FF
#define COLOR_ALICEBLUE 0xF0F8FFFF
#define COLOR_ANTIQUEWHITE 0xFAEBD7FF
#define COLOR_APPWORKSPACE 0xABABABFF
#define COLOR_AQUA 0x00FFFFFF
#define COLOR_AQUAMARINE 0x7FFFD4FF
#define COLOR_AZURE 0xF0FFFFFF
#define COLOR_BEIGE 0xF5F5DCFF
#define COLOR_BISQUE 0xFFE4C4FF
#define COLOR_BLACK 0x000000FF
#define COLOR_BLANCHEDALMOND 0xFFEBCDFF
#define COLOR_BLUE 0x0000FFFF
#define COLOR_BLUEVIOLET 0x8A2BE2FF
#define COLOR_BROWN 0xA52A2AFF
#define COLOR_BURLYWOOD 0xDEB887FF
#define COLOR_BUTTONFACE 0xF0F0F0FF
#define COLOR_BUTTONHIGHLIGHT 0xFFFFFFFF
#define COLOR_BUTTONSHADOW 0xA0A0A0FF
#define COLOR_CADETBLUE 0x5F9EA0FF
#define COLOR_CHARTREUSE 0x7FFF00FF
#define COLOR_CHOCOLATE 0xD2691EFF
#define COLOR_CONTROL 0xF0F0F0FF
#define COLOR_CONTROLDARK 0xA0A0A0FF
#define COLOR_CONTROLDARKDARK 0x696969FF
#define COLOR_CONTROLLIGHT 0xE3E3E3FF
#define COLOR_CONTROLLIGHTLIGHT 0xFFFFFFFF
#define COLOR_CONTROLTEXT 0x000000FF
#define COLOR_CORAL 0xFF7F50FF
#define COLOR_CORNFLOWERBLUE 0x6495EDFF
#define COLOR_CORNSILK 0xFFF8DCFF
#define COLOR_CRIMSON 0xDC143CFF
#define COLOR_CYAN 0x00FFFFFF
#define COLOR_DARKBLUE 0x00008BFF
#define COLOR_DARKCYAN 0x008B8BFF
#define COLOR_DARKGOLDENROD 0xB8860BFF
#define COLOR_DARKGRAY 0xA9A9A9FF
#define COLOR_DARKGREEN 0x006400FF
#define COLOR_DARKKHAKI 0xBDB76BFF
#define COLOR_DARKMAGENTA 0x8B008BFF
#define COLOR_DARKOLIVEGREEN 0x556B2FFF
#define COLOR_DARKORANGE 0xFF8C00FF
#define COLOR_DARKORCHID 0x9932CCFF
#define COLOR_DARKRED 0x8B0000FF
#define COLOR_DARKSALMON 0xE9967AFF
#define COLOR_DARKSEAGREEN 0x8FBC8BFF
#define COLOR_DARKSLATEBLUE 0x483D8BFF
#define COLOR_DARKSLATEGRAY 0x2F4F4FFF
#define COLOR_DARKTURQUOISE 0x00CED1FF
#define COLOR_DARKVIOLET 0x9400D3FF
#define COLOR_DEEPPINK 0xFF1493FF
#define COLOR_DEEPSKYBLUE 0x00BFFFFF
#define COLOR_DESKTOP 0x000000FF
#define COLOR_DIMGRAY 0x696969FF
#define COLOR_DODGERBLUE 0x1E90FFFF
#define COLOR_FIREBRICK 0xB22222FF
#define COLOR_FLORALWHITE 0xFFFAF0FF
#define COLOR_FORESTGREEN 0x228B22FF
#define COLOR_FUCHSIA 0xFF00FFFF
#define COLOR_GAINSBORO 0xDCDCDCFF
#define COLOR_GHOSTWHITE 0xF8F8FFFF
#define COLOR_GOLD 0xFFD700FF
#define COLOR_GOLDENROD 0xDAA520FF
#define COLOR_GRADIENTACTIVECAPTION 0xB9D1EAFF
#define COLOR_GRADIENTINACTIVECAPTION 0xD7E4F2FF
#define COLOR_GRAY 0x808080FF
#define COLOR_GRAYTEXT 0x808080FF
#define COLOR_GREEN 0x008000FF
#define COLOR_GREENYELLOW 0xADFF2FFF
#define COLOR_HIGHLIGHT 0x3399FFFF
#define COLOR_HIGHLIGHTTEXT 0xFFFFFFFF
#define COLOR_HONEYDEW 0xF0FFF0FF
#define COLOR_HOTPINK 0xFF69B4FF
#define COLOR_HOTTRACK 0x0066CCFF
#define COLOR_INACTIVEBORDER 0xF4F7FCFF
#define COLOR_INACTIVECAPTION 0xBFCDDBFF
#define COLOR_INACTIVECAPTIONTEXT 0x434E54FF
#define COLOR_INDIANRED 0xCD5C5CFF
#define COLOR_INDIGO 0x4B0082FF
#define COLOR_INFO 0xFFFFE1FF
#define COLOR_INFOTEXT 0x000000FF
#define COLOR_IVORY 0xFFFFF0FF
#define COLOR_KHAKI 0xF0E68CFF
#define COLOR_LAVENDER 0xE6E6FAFF
#define COLOR_LAVENDERBLUSH 0xFFF0F5FF
#define COLOR_LAWNGREEN 0x7CFC00FF
#define COLOR_LEMONCHIFFON 0xFFFACDFF
#define COLOR_LIGHTBLUE 0xADD8E6FF
#define COLOR_LIGHTCORAL 0xF08080FF
#define COLOR_LIGHTCYAN 0xE0FFFFFF
#define COLOR_LIGHTGOLDENRODYELLOW 0xFAFAD2FF
#define COLOR_LIGHTGRAY 0xD3D3D3FF
#define COLOR_LIGHTGREEN 0x90EE90FF
#define COLOR_LIGHTPINK 0xFFB6C1FF
#define COLOR_LIGHTSALMON 0xFFA07AFF
#define COLOR_LIGHTSEAGREEN 0x20B2AAFF
#define COLOR_LIGHTSKYBLUE 0x87CEFAFF
#define COLOR_LIGHTSLATEGRAY 0x778899FF
#define COLOR_LIGHTSTEELBLUE 0xB0C4DEFF
#define COLOR_LIGHTYELLOW 0xFFFFE0FF
#define COLOR_LIME 0x00FF00FF
#define COLOR_LIMEGREEN 0x32CD32FF
#define COLOR_LINEN 0xFAF0E6FF
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_MAROON 0x800000FF
#define COLOR_MEDIUMAQUAMARINE 0x66CDAAFF
#define COLOR_MEDIUMBLUE 0x0000CDFF
#define COLOR_MEDIUMORCHID 0xBA55D3FF
#define COLOR_MEDIUMPURPLE 0x9370DBFF
#define COLOR_MEDIUMSEAGREEN 0x3CB371FF
#define COLOR_MEDIUMSLATEBLUE 0x7B68EEFF
#define COLOR_MEDIUMSPRINGGREEN 0x00FA9AFF
#define COLOR_MEDIUMTURQUOISE 0x48D1CCFF
#define COLOR_MEDIUMVIOLETRED 0xC71585FF
#define COLOR_MENU 0xF0F0F0FF
#define COLOR_MENUBAR 0xF0F0F0FF
#define COLOR_MENUHIGHLIGHT 0x3399FFFF
#define COLOR_MENUTEXT 0x000000FF
#define COLOR_MIDNIGHTBLUE 0x191970FF
#define COLOR_MINTCREAM 0xF5FFFAFF
#define COLOR_MISTYROSE 0xFFE4E1FF
#define COLOR_MOCCASIN 0xFFE4B5FF
#define COLOR_NAVAJOWHITE 0xFFDEADFF
#define COLOR_NAVY 0x000080FF
#define COLOR_OLDLACE 0xFDF5E6FF
#define COLOR_OLIVE 0x808000FF
#define COLOR_OLIVEDRAB 0x6B8E23FF
#define COLOR_ORANGE 0xFFA500FF
#define COLOR_ORANGERED 0xFF4500FF
#define COLOR_ORCHID 0xDA70D6FF
#define COLOR_PALEGOLDENROD 0xEEE8AAFF
#define COLOR_PALEGREEN 0x98FB98FF
#define COLOR_PALETURQUOISE 0xAFEEEEFF
#define COLOR_PALEVIOLETRED 0xDB7093FF
#define COLOR_PAPAYAWHIP 0xFFEFD5FF
#define COLOR_PEACHPUFF 0xFFDAB9FF
#define COLOR_PERU 0xCD853FFF
#define COLOR_PINK 0xFFC0CBFF
#define COLOR_PLUM 0xDDA0DDFF
#define COLOR_POWDERBLUE 0xB0E0E6FF
#define COLOR_PURPLE 0x800080FF
#define COLOR_RED 0xFF0000FF
#define COLOR_ROSYBROWN 0xBC8F8FFF
#define COLOR_ROYALBLUE 0x4169E1FF
#define COLOR_SADDLEBROWN 0x8B4513FF
#define COLOR_SALMON 0xFA8072FF
#define COLOR_SANDYBROWN 0xF4A460FF
#define COLOR_SCROLLBAR 0xC8C8C8FF
#define COLOR_SEAGREEN 0x2E8B57FF
#define COLOR_SEASHELL 0xFFF5EEFF
#define COLOR_SIENNA 0xA0522DFF
#define COLOR_SILVER 0xC0C0C0FF
#define COLOR_SKYBLUE 0x87CEEBFF
#define COLOR_SLATEBLUE 0x6A5ACDFF
#define COLOR_SLATEGRAY 0x708090FF
#define COLOR_SNOW 0xFFFAFAFF
#define COLOR_SPRINGGREEN 0x00FF7FFF
#define COLOR_STEELBLUE 0x4682B4FF
#define COLOR_TAN 0xD2B48CFF
#define COLOR_TEAL 0x008080FF
#define COLOR_THISTLE 0xD8BFD8FF
#define COLOR_TOMATO 0xFF6347FF
#define COLOR_TRANSPARENT 0xFFFFFF00
#define COLOR_TURQUOISE 0x40E0D0FF
#define COLOR_VIOLET 0xEE82EEFF
#define COLOR_WHEAT 0xF5DEB3FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_WHITESMOKE 0xF5F5F5FF
#define COLOR_WINDOW 0xFFFFFFFF
#define COLOR_WINDOWFRAME 0x646464FF
#define COLOR_WINDOWTEXT 0x000000FF
#define COLOR_YELLOW 0xFFFF00FF
#define COLOR_YELLOWGREEN 0x9ACD32FF
#define STEALTH_ORANGE 0xFF880000
#define STEALTH_OLIVE 0x66660000
#define STEALTH_GREEN 0x33DD1100
#define STEALTH_PINK 0xFF22EE00
#define STEALTH_BLUE 0x0077BB00
Thanks alot, +1
Reply
#7

I changed them use the new ones

Код:
#define GREY {AFAFAF}
#define GREEN {33AA33}
#define RED {AA3333}
#define YELLOW {FFFF00}
#define WHITE {FFFFFF}
#define BLUE {0000BB}
#define LIGHTBLUE {33CCFF}
#define ORANGE {FF9900}
#define RED {AA3333}
#define LIME {10F441}
#define MAGENTA {FF00FF}
#define NAVY {000080}
#define AQUA {F0F8FF}
#define CRIMSON {DC143C}
#define FLBLUE {6495ED}
#define BISQUE {FFE4C4}
#define BLACK {000000}
#define CHARTREUSE {7FFF00}
#define BROWN {A52A2A}
#define CORAL {FF7F50}
#define GOLD {B8860B}
#define GREENYELLOW {ADFF2F}
#define INDIGO {4B00B0}
#define IVORY {FFFF82}
#define LAWNGREEN {7CFC00}
#define SEAGREEN {20B2AA}
#define LIMEGREEN {32CD32A}
#define MIDNIGHTBLUE {191970}
#define MAROON {800000}
#define OLIVE {808000}
#define ORANGERED {FF4500}
#define PINK {FFC0CBA}
#define SEAGREEN {2E8B57}
#define SPRINGGREEN {00FF7F}
#define TOMATO {FF6347A}
#define YELLOWGREEN {9ACD32A}
#define MEDIUMAQUA {83BFBF}
#define MEDIUMMAGENTA {8B008B}
#define GREY {AFAFAF}
#define ACTIVEBORDER {B4B4B4}
#define ACTIVECAPTION {99B4D1}
#define ACTIVECAPTIONTEXT {000000}
#define ALICEBLUE {F0F8FF}
#define ANTIQUEWHITE {FAEBD7}
#define APPWORKSPACE {ABABAB}
#define AQUA {00FFFF}
#define AQUAMARINE {7FFFD4}
#define AZURE {F0FFFF}
#define BEIGE {F5F5DC}
#define BISQUE {FFE4C4}
#define BLACK {000000}
#define BLANCHEDALMOND {FFEBCD}
#define BLUE {0000FF}
#define BLUEVIOLET {8A2BE2}
#define BROWN {A52A2A}
#define BURLYWOOD {DEB887}
#define BUTTONFACE {F0F0F0}
#define BUTTONHIGHLIGHT {FFFFFF}
#define BUTTONSHADOW {A0A0A0}
#define CADETBLUE {5F9EA0}
#define CHARTREUSE {7FFF00}
#define CHOCOLATE {D2691E}
#define CONTROL {F0F0F0}
#define CONTROLDARK {A0A0A0}
#define CONTROLDARKDARK {696969}
#define CONTROLLIGHT {E3E3E3}
#define CONTROLLIGHTLIGHT {FFFFFF}
#define CONTROLTEXT {000000}
#define CORAL {FF7F50}
#define CORNFLOWERBLUE {6495ED}
#define CORNSILK {FFF8DC}
#define CRIMSON {DC143C}
#define CYAN {00FFFF}
#define DARKBLUE {00008B}
#define DARKCYAN {008B8B}
#define DARKGOLDENROD {B8860B}
#define DARKGRAY {A9A9A9}
#define DARKGREEN {006400}
#define DARKKHAKI {BDB76B}
#define DARKMAGENTA {8B008B}
#define DARKOLIVEGREEN {556B2F}
#define DARKORANGE {FF8C00}
#define DARKORCHID {9932CC}
#define DARKRED {8B0000}
#define DARKSALMON {E9967A}
#define DARKSEAGREEN {8FBC8B}
#define DARKSLATEBLUE {483D8B}
#define DARKSLATEGRAY {2F4F4F}
#define DARKTURQUOISE {00CED1}
#define DARKVIOLET {9400D3}
#define DEEPPINK {FF1493}
#define DEEPSKYBLUE {00BFFF}
#define DESKTOP {000000}
#define DIMGRAY {696969}
#define DODGERBLUE {1E90FF}
#define FIREBRICK {B22222}
#define FLORALWHITE {FFFAF0}
#define FORESTGREEN {228B22}
#define FUCHSIA {FF00FF}
#define GAINSBORO {DCDCDC}
#define GHOSTWHITE {F8F8FF}
#define GOLD {FFD700}
#define GOLDENROD {DAA520}
#define GRADIENTACTIVECAPTION {B9D1EA}
#define GRADIENTINACTIVECAPTION {D7E4F2}
#define GRAY {808080}
#define GRAYTEXT {808080}
#define GREEN {008000}
#define GREENYELLOW {ADFF2F}
#define HIGHLIGHT {3399FF}
#define HIGHLIGHTTEXT {FFFFFF}
#define HONEYDEW {F0FFF0}
#define HOTPINK {FF69B4}
#define HOTTRACK {0066CC}
#define INACTIVEBORDER {F4F7FC}
#define INACTIVECAPTION {BFCDDB}
#define INACTIVECAPTIONTEXT {434E54}
#define INDIANRED {CD5C5C}
#define INDIGO {4B0082}
#define INFO {FFFFE1}
#define INFOTEXT {000000}
#define IVORY {FFFFF0}
#define KHAKI {F0E68C}
#define LAVENDER {E6E6FA}
#define LAVENDERBLUSH {FFF0F5}
#define LAWNGREEN {7CFC00}
#define LEMONCHIFFON {FFFACD}
#define LIGHTBLUE {ADD8E6}
#define LIGHTCORAL {F08080}
#define LIGHTCYAN {E0FFFF}
#define LIGHTGOLDENRODYELLOW {FAFAD2}
#define LIGHTGRAY {D3D3D3}
#define LIGHTGREEN {90EE90}
#define LIGHTPINK {FFB6C1}
#define LIGHTSALMON {FFA07A}
#define LIGHTSEAGREEN {20B2AA}
#define LIGHTSKYBLUE {87CEFA}
#define LIGHTSLATEGRAY {778899}
#define LIGHTSTEELBLUE {B0C4DE}
#define LIGHTYELLOW {FFFFE0}
#define LIME {00FF00}
#define LIMEGREEN {32CD32}
#define LINEN {FAF0E6}
#define MAGENTA {FF00FF}
#define MAROON {800000}
#define MEDIUMAQUAMARINE {66CDAA}
#define MEDIUMBLUE {0000CD}
#define MEDIUMORCHID {BA55D3}
#define MEDIUMPURPLE {9370DB}
#define MEDIUMSEAGREEN {3CB371}
#define MEDIUMSLATEBLUE {7B68EE}
#define MEDIUMSPRINGGREEN {00FA9A}
#define MEDIUMTURQUOISE {48D1CC}
#define MEDIUMVIOLETRED {C71585}
#define MENU {F0F0F0}
#define MENUBAR {F0F0F0}
#define MENUHIGHLIGHT {3399FF}
#define MENUTEXT {000000}
#define MIDNIGHTBLUE {191970}
#define MINTCREAM {F5FFFA}
#define MISTYROSE {FFE4E1}
#define MOCCASIN {FFE4B5}
#define NAVAJOWHITE {FFDEAD}
#define NAVY {000080}
#define OLDLACE {FDF5E6}
#define OLIVE {808000}
#define OLIVEDRAB {6B8E23}
#define ORANGE {FFA500}
#define ORANGERED {FF4500}
#define ORCHID {DA70D6}
#define PALEGOLDENROD {EEE8AA}
#define PALEGREEN {98FB98}
#define PALETURQUOISE {AFEEEE}
#define PALEVIOLETRED {DB7093}
#define PAPAYAWHIP {FFEFD5}
#define PEACHPUFF {FFDAB9}
#define PERU {CD853F}
#define PINK {FFC0CB}
#define PLUM {DDA0DD}
#define POWDERBLUE {B0E0E6}
#define PURPLE {800080}
#define RED {FF0000}
#define ROSYBROWN {BC8F8F}
#define ROYALBLUE {4169E1}
#define SADDLEBROWN {8B4513}
#define SALMON {FA8072}
#define SANDYBROWN {F4A460}
#define SCROLLBAR {C8C8C8}
#define SEAGREEN {2E8B57}
#define SEASHELL {FFF5EE}
#define SIENNA {A0522D}
#define SILVER {C0C0C0}
#define SKYBLUE {87CEEB}
#define SLATEBLUE {6A5ACD}
#define SLATEGRAY {708090}
#define SNOW {FFFAFA}
#define SPRINGGREEN {00FF7F}
#define STEELBLUE {4682B4}
#define TAN {D2B48C}
#define TEAL {008080}
#define THISTLE {D8BFD8}
#define TOMATO {FF6347}
#define TRANSPARENT {FFFFFF}
#define TURQUOISE {40E0D0}
#define VIOLET {EE82EE}
#define WHEAT {F5DEB3}
#define WHITE {FFFFFF}
#define WHITESMOKE {F5F5F5}
#define WINDOW {FFFFFF}
#define WINDOWFRAME {646464}
#define WINDOWTEXT {000000}
#define YELLOW {FFFF00}
#define YELLOWGREEN {9ACD32}
#define STEALTH_ORANGE {FF8800}
#define STEALTH_OLIVE {666600}
#define STEALTH_GREEN {33DD11}
#define STEALTH_PINK {FF22EE}
#define STEALTH_BLUE {0077BB}
Reply
#8

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
SendClientMessage(playerid, COLOR_WHITE, " Welcome, on [orange]My Server,[white again] have fun!");
Do not use it like [orange] or [white] there will be displayed just [white] you need to put ", ex: "orange"<text>,"white"<other text>
Reply
#9

This is my small collection:
Quote:

#define RED 0xFF000FFF
#define DARK_RED 0xB0000FFF
#define ORANGE 0xFFA500FF
#define ORANGE_RED 0xFF4500FF
#define PINK 0xFFC0CBFF
#define HOT_PINK 0xFF69B4FF
#define PURPLE 0x800080FF
#define VIOLET 0xEE82EEFF
#define GREEN 0x43D017FF
#define DARK_GREEN 0x006400FF
#define LIGHT_GREEN 0x90EE90FF
#define LIME 0x00FF00FF
#define BLUE 0x0066FFFF
#define DARK_BLUE 0x00008BFF
#define CYAN 0x00FFFFFF
#define YELLOW 0xFFFA00FF
#define LIGHT_YELLOW 0xFFFF94FF
#define GREY 0xBBBBBBFF
#define BLACK 0x000000FF
#define WHITE 0xF0F0F0FF
#define red "{FF000F}"
#define dark_red "{B0000F}"
#define orange "{FFA500}"
#define orange_red "{FF4500}"
#define pink "{FFC0CB}"
#define hot_pink "{FF69B4}"
#define purple "{800080}"
#define violet "{EE82EE}"
#define green "{43D017}"
#define dark_green "{006400}"
#define light_green "{90EE90}"
#define lime "{00FF00}"
#define blue "{0066FF}"
#define dark_blue "{00008B}"
#define cyan "{00FFFF}"
#define yellow "{FFFA00}"
#define light_yellow "{FFFF94}"
#define grey "{BBBBBB}"
#define black "{000000}"
#define white "{F0F0F0}"

Reply
#10

Hi try this generator color
http://www.solidfiles.com/d/6d326aab17/

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)