How do I send a message with 2 different colors to playerid? - 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: How do I send a message with 2 different colors to playerid? (
/showthread.php?tid=462422)
How do I send a message with 2 different colors to playerid? -
Don_Cage - 06.09.2013
Well the title says it all. I know how I can send message with different colors so people around can see with proxdetector. But how can I make it show ONLY for the player that types the cmd?
Re: How do I send a message with 2 different colors to playerid? -
Eyce - 06.09.2013
You mean color embedding?
pawn Код:
SendClientMessage(playerid, -1, "{FF0000}Red {00FF00}Green {0000FF}Blue");
Re: How do I send a message with 2 different colors to playerid? -
Don_Cage - 06.09.2013
Yes, Thank you
Re: How do I send a message with 2 different colors to playerid? -
XcorelloX - 07.09.2013
Like Eyce said, you can embed colour codes in RRGGBB format by wrapping them in { }.
http://www.rapidtables.com/web/color/RGB_Color.htm
http://antipas.net/cd/colors.htm
These two websites are wonderful for finding the exact colour you want.
Re: How do I send a message with 2 different colors to playerid? -
AaronKillz - 07.09.2013
Quote:
Originally Posted by XcorelloX
|
I just use
http://www.colorpicker.com