ClientMessage with multiple colors - 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: ClientMessage with multiple colors (
/showthread.php?tid=332200)
ClientMessage with multiple colors -
Johnny Smith - 07.04.2012
Hello, i've got a small problem...
I want to create a SendClientMessage with multiple colors so it appears like this:
Welcome to my server.
I hope you tell me and i'll give you REP+!!!
Re: ClientMessage with multiple colors -
Aira - 07.04.2012
SendClientMessage(playerid, COLOR_GREEN, "~r~Welcome to ~b~ my "COLOR_GREEN"server!");
Re: ClientMessage with multiple colors -
ivanVU - 07.04.2012
you have to use 0.3c colors...
https://sampforum.blast.hk/showthread.php?tid=196360
than you do it like this
Quote:
SendClientMessage(playerid,-1,""COL_RED"Welcome to "COL_BLUE"my "COL_GREEN"server");
|
I used col_red becouse there wasn't brown
Re: ClientMessage with multiple colors -
Hoss - 07.04.2012
https://sampwiki.blast.hk/wiki/Colour_Embedding
Re: ClientMessage with multiple colors -
Johnny Smith - 07.04.2012
Thanks alot!!!