17.05.2012, 07:29
Very basically, you're not putting your color defines in their location
Remove every single #RED, #BLUE, #SHIT you've put and follow this reference for sending client messages.
SendClientMessage(playerid, color, "text");
SendClientMessageToAll(color, "text");
What if you want to use multicolors?
Here's a color you'd like to use, let's say you have COLOR_WHITE defined as 0xFFFFFFFF, follow this procedure to extract the color's code for SendClientMessage
Remove the 0x and last 2 F's from the color
0xFFFFFFFF
Copy the remaining text into a {}
{FFFFFF}
Put the {FFFFFF} INSIDE the text quotations.
SendClientMessage(playerid, AnyColor, "This text has AnyColor color, {FFFFFF}This text has white color.");
Remove every single #RED, #BLUE, #SHIT you've put and follow this reference for sending client messages.
SendClientMessage(playerid, color, "text");
SendClientMessageToAll(color, "text");
What if you want to use multicolors?
Here's a color you'd like to use, let's say you have COLOR_WHITE defined as 0xFFFFFFFF, follow this procedure to extract the color's code for SendClientMessage
Remove the 0x and last 2 F's from the color
0xFFFFFFFF
Copy the remaining text into a {}
{FFFFFF}
Put the {FFFFFF} INSIDE the text quotations.
SendClientMessage(playerid, AnyColor, "This text has AnyColor color, {FFFFFF}This text has white color.");

