ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
#define COLOR_WHITE 0xFFFFFFAA #define COLOR_COP 0x6666CCFF #define COLOR_GN 0x800080FF #define COLOR_WHITE 0xFFFFFFAA #define COLOR_PARAMEDIC 0x006400FF #define COLOR_YELLOW 0xFFFF00AA #define COLOR_ORANGE 0xFF9900AA #define COLOR_DARKORANGE 0xFF8C00FF #define COLOR_RED 0xFF0000FF #define COLOR_DARKGRAY 0x696969AA
#define COLOR_WHITE_INV 0xFFFFFFAA00 #define COLOR_COP_INV 0x6666CCFF00 #define COLOR_GN_INV 0x800080FF00 #define COLOR_WHITE_INV 0xFFFFFFAA00 #define COLOR_PARAMEDIC_INV 0x006400FF00 #define COLOR_YELLOW_INV 0xFFFF00AA00 #define COLOR_ORANGE_INV 0xFF9900AA00 #define COLOR_DARKORANGE_INV 0xFF8C00FF00 #define COLOR_RED_INV 0xFF0000FF00 #define COLOR_DARKGRAY_INV 0x696969AA00
Instead of adding two zeros to the end of the hex code, replace the last two letters. (ex. "#define COLOR_WHITE_INV 0xFFFFFFAA00" should be "#define COLOR_WHITE_INV 0xFFFFFF00")
|
#define COLOR_WHITE 0xFFFFFFAA #define COLOR_COP 0x6666CCFF #define COLOR_GN 0x800080FF #define COLOR_WHITE 0xFFFFFFAA #define COLOR_PARAMEDIC 0x006400FF #define COLOR_YELLOW 0xFFFF00AA #define COLOR_ORANGE 0xFF9900AA #define COLOR_DARKORANGE 0xFF8C00FF #define COLOR_RED 0xFF0000FF #define COLOR_DARKGRAY 0x696969AA
#define COLOR_WHITE_INV 0xFFFFFFAA00 #define COLOR_COP_INV 0x6666CCFF00 #define COLOR_GN_INV 0x800080FF00 #define COLOR_WHITE_INV 0xFFFFFFAA00 #define COLOR_PARAMEDIC_INV 0x006400FF00 #define COLOR_YELLOW_INV 0xFFFF00AA00 #define COLOR_ORANGE_INV 0xFF9900AA00 #define COLOR_DARKORANGE_INV 0xFF8C00FF00 #define COLOR_RED_INV 0xFF0000FF00 #define COLOR_DARKGRAY_INV 0x696969AA00
//Color Format: 0xRRGGBBAA #define COLOR_WHITE_INV 0xFFFFFF00 #define COLOR_COP_INV 0x6666CC00 #define COLOR_GN_INV 0x80008000 #define COLOR_WHITE_INV 0xFFFFFF00 #define COLOR_PARAMEDIC_INV 0x00640000 #define COLOR_YELLOW_INV 0xFFFF0000 #define COLOR_ORANGE_INV 0xFF990000 #define COLOR_DARKORANGE_INV 0xFF8C0000 #define COLOR_RED_INV 0xFF000000 #define COLOR_DARKGRAY_INV 0x69696900 //sorry for the intendations
stock TransparentColor(color) { return (color & 0xFFFFFF00); }
The color format is as follows:
"0xRRGGBBAA" RR = Red GG = Green BB = Blue AA = Alpha FF = Highest value = 255 00 = Lowest value = 0 Alpha is the transparency of the color , thus to make one's marker invisible , you can need to set its alpha 0 either by doing some math or by defining the colors alpha Код:
//Color Format: 0xRRGGBBAA #define COLOR_WHITE_INV 0xFFFFFF00 #define COLOR_COP_INV 0x6666CC00 #define COLOR_GN_INV 0x80008000 #define COLOR_WHITE_INV 0xFFFFFF00 #define COLOR_PARAMEDIC_INV 0x00640000 #define COLOR_YELLOW_INV 0xFFFF0000 #define COLOR_ORANGE_INV 0xFF990000 #define COLOR_DARKORANGE_INV 0xFF8C0000 #define COLOR_RED_INV 0xFF000000 #define COLOR_DARKGRAY_INV 0x69696900 //sorry for the intendations Код:
stock TransparentColor(color) { return (color & 0xFFFFFF00); } |