12.12.2014, 13:31
The chat is sequential. You can't write on a specific line. Once a message has been sent it can't be altered.
Also you should store colors as integers all the time. You can format them into a string later, for example:
Also you should store colors as integers all the time. You can format them into a string later, for example:
pawn Код:
#define COLOR_RED 0xFF0000AA
#define COLOR_ORANGE 0xFF8000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_GREEN 0x008000AA
#define COLOR_BLUE 0x0000FFAA
#define COLOR_INDIGO 0x4B0082AA
#define COLOR_VIOLET 0x9400D3AA
new Color[] = {
COLOR_RED,
COLOR_ORANGE,
COLOR_YELLOW,
COLOR_GREEN,
COLOR_BLUE,
COLOR_INDIGO,
COLOR_VIOLET
};
format(string, sizeof(string), "{%06x}•••••••••{%06x}•••••••••{%06x}•••••••••", Color[random(sizeof(Color))] <<< 8, Color[random(sizeof(Color))] <<< 8, Color[random(sizeof(Color))] <<< 8);