Quote:
Originally Posted by dirka_dirka
\x03 for light green \x05 for dark green.. thats in l4d, its probably different in other engines - look at colors.inc and you can figure out what it is for your engine.
\x01 to return to normal color
|
PHP Code:
// tf_english.txt, left4dead2_english.txt, and similar
// Radio and chat strings can have control characters embedded to set colors. For the control characters to be used, one must be at the start of the string.
// The control characters can be copied and pasted in notepad.
// = 0x02 (STX) - Use team color up to the end of the player name. This only works at the start of the string, and precludes using the other control characters.
// = 0x03 (ETX) - Use team color from this point forward
// = 0x04 (EOT) - Use location color from this point forward
// = 0x05 (ENQ) - Use achievement color from this point forward // not allowed in css, hl2mp, dods(?)
// = 0x01 (SOH) - Use normal color from this point forward
__________________