Question to chat in the game
#7

Well, if you want another color you can:SendClientMessageToAll(YOUR_COLOR, string);

Change YOUR_COLOR to the color you want.

If you want to show as: (RED)MyName: (BLACK)ID( 0 ) (GREEN)Text. Use HEX Colours

https://sampwiki.blast.hk/wiki/Hex_colours

Example:
pawn Code:
format(string,sizeof(string),"{FF0000}%s {000000}(ID: %d): {00FF22}%s", name, playerid, text);
SendClientMessageToAll(-1, string);
It will do:
Code:
MyName (ID: MyID): MyText
Reply


Messages In This Thread
Question to chat in the game - by styl3raaa - 03.10.2011, 13:20
Re: Question to chat in the game - by Kostas' - 03.10.2011, 13:24
Re: Question to chat in the game - by Jafet_Macario - 03.10.2011, 13:29
Re: Question to chat in the game - by styl3raaa - 03.10.2011, 13:50
Re: Question to chat in the game - by Jafet_Macario - 03.10.2011, 13:57
Re: Question to chat in the game - by styl3raaa - 03.10.2011, 13:58
Re: Question to chat in the game - by Jafet_Macario - 03.10.2011, 14:08
Re: Question to chat in the game - by iPLEOMAX - 03.10.2011, 14:26
Re: Question to chat in the game - by styl3raaa - 03.10.2011, 14:32
Re: Question to chat in the game - by iPLEOMAX - 03.10.2011, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)