View Full Version : Several colors in one message

03/10/2011, 02:06 PM
How to make text in SendClientMessage several colors.

Example: Hello to my server
Hello - blue
to my - red
server - white

03/10/2011, 02:07 PM

To get different colours, visit this site: http://www.colorpicker.com/

Then pick a colour and copy it's HEX code (something like this: E01B4C)

Now put it into curly brackets: {E01B4C}

Now embed it this way: SendClientMessage(playerid, -1, "Hello! This is {E01B4C}RED.");
Will give: Hello! This is RED!

Your example:
SendClientMessage(playerid, -1, "{0000FF}Hello {FF0000}to my {FFFFFF}server!");