SA-MP Forums Archive
Coloring a part of a text - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Coloring a part of a text (/showthread.php?tid=253484)



Coloring a part of a text - jNkk - 06.05.2011

Hello everyone !

First of all I'm sorry , I searched alot but I couldn't find.
My question is , how can I color a part of my text?

I'm creating random messages , so I want it like this :

"(yellow)[SERVER](blue)news: blah blah"

Thank you for your help.

-jNkk


Re: Coloring a part of a text - Laronic - 06.05.2011

Here is a example

pawn Код:
SendClientMessage(playerid, 0xFFFFFFAA, "{FFFFFF}White {FF0000}Red");



Re: Coloring a part of a text - jNkk - 06.05.2011

Thank you very much !!!

-jNkk


Re: Coloring a part of a text - Laronic - 06.05.2011

Your Welcome