Several colors in one message
#2

https://sampwiki.blast.hk/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:
pawn Код:
SendClientMessage(playerid, -1, "{0000FF}Hello {FF0000}to my {FFFFFF}server!");
Reply


Messages In This Thread
Several colors in one message - by styl3raaa - 03.10.2011, 14:06
Re: Several colors in one message - by iPLEOMAX - 03.10.2011, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)