PDA

View Full Version : Several colors in one message


styl3raaa
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

iPLEOMAX
03/10/2011, 02:07 PM
http://wiki.sa-mp.com/wiki/Colour_Embedding

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!");