View Single Post
antihacker
Member
Join Date: Feb 2009
Old 06-14-2009 , 12:31   Re: Yak's FAQs on Scripting
Reply With Quote #3

8. How to color your messages?
Use \x01, \x02 ... \x08 to color your message, example:
PHP Code:
PrintToChatAll ("\x01 1 .. \x02 2 .. \x03 3 .. \x04 4 .. \x05 5 .. \x06 6 .. \x07 7 .. \x08 8 .. \x09 9 .."); 
Example output (L4D):

You must find out wich color you get, because this is different for nearly every mod.

\x01 normal color
\x03 is the team depend color.
Also see this.

I hope you dont mind for posting here.

Last edited by antihacker; 06-14-2009 at 13:05.
antihacker is offline