SA-MP Forums Archive
SendClientMessage in 2 different 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: SendClientMessage in 2 different colors. (/showthread.php?tid=328009)



SendClientMessage in 2 different colors. - MrBorsh - 23.03.2012

Hi! I was wondering. For example when I am making a help command. I have this.

pawn Код:
SendClientMessage(playerid, 0x9cfc14FF, "[INFO] You have entered the Helping Menu.");
InGame it would look like this.

Quote:
[INFO] You have entered the Helping Menu.
How can I make it look like this;
Quote:
[INFO] You have entered the Helping Menu.
?


Re: SendClientMessage in 2 different colors. - fordawinzz - 23.03.2012

pawn Код:
SendClientMessage(playerid, 0x9cfc14FF, "[INFO] {FFFFFF}You have entered the Helping Menu.");
Use hex codes between braces ({,})


Re: SendClientMessage in 2 different colors. - MrBorsh - 23.03.2012

Thank you so much!