SA-MP Forums Archive
Multiple colors in one text line? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Multiple colors in one text line? (/showthread.php?tid=464573)



Multiple colors in one text line? - CesarLT - 17.09.2013

Hello, I was wondering how can you use a few colors in a single text line, I tried this, but failed.

pawn Код:
SendClientMessage(playerid, COLOR_XXX, "XXX, {0xFFFFFF}XXX.");
Where am I wrong? Thanks in advance.


Re: Multiple colors in one text line? - Pottus - 17.09.2013

You just need the 6 hex characters

{FFFFFF}


Re: Multiple colors in one text line? - CesarLT - 17.09.2013

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
You just need the 6 hex characters

{FFFFFF}
Oh, ty lol.