View Single Post
SirDigby
Junior Member
Join Date: Feb 2016
Old 03-01-2016 , 21:52   Re: Simple Chat Colors (Redux)
Reply With Quote #390

Quote:
Originally Posted by The enigma View Post
How come I can only use
// "{default}"
// "{green}"
// "{lightgreen}"
// "{red}"
// "{blue}"
// "{olive}"
// "{teamcolor}"

and all other colours don't work!
plz help
You're thinking of morecolors.
https://forums.alliedmods.net/showthread.php?t=185016

Alternatively, you can use \x07 (The BEL Unicode Character) followed by a hexadecimal colour value. Although I'm not sure this works when loading text from a config file.

So an example of that would be
PHP Code:
ReplyToCommand(client"[SM] \x0700FF00This is now green text."); 

Last edited by SirDigby; 03-01-2016 at 21:53.
SirDigby is offline