16.10.2013, 10:05
Quote:
pawn Код:
Hope this helps. |
tvt, would you mind to explain what you want? Let's say you want to show a message with red color (defining it makes it easier for the most users).
pawn Код:
#define COLOR_RED 0xFF0000FF
pawn Код:
SendClientMessage(playerid, COLOR_RED, "This is a color..");
Change the values of R G B (0-255) and at the right side, it will give the 6 digits for the color. You can add 0x before and FF after and you're done.
For example, FFFF00 is (255 255 0, which is yellow). Doing 0xFFFF00FF is yellow.
EDIT: You edited your post. Okay, like I said hex ARE numbers. Even if you use that number instead, it will still be the color you wanted to.