|
Post by The Realist on Jul 9, 2014 13:26:25 GMT -6
RLG KNOWLEDGEBASE 006For those of you who use Tyguy's ChatTags code to display a coloured bracket-enclosed label in front of your staff's chat text, you'll probably notice that by default the actual chat text itself following any staff's name always displays in red. This seems to be because Tyguy (as admitted in this Facepunch thread facepunch.com/showthread.php?t=1238136 ) could not figure out how to get the console variables to be created and stay in place. So changing the values of... CreateClientConVar("chat_tags_color_r", 255, true, false) CreateClientConVar("chat_tags_color_g", 0, true, false) CreateClientConVar("chat_tags_color_b", 0, true, false) CreateClientConVar("chat_tags_color_a", 255, true, false) ... all to 255 will NOT work. What WILL work is changing... local R = GetConVarNumber("chat_tags_color_r") local G = GetConVarNumber("chat_tags_color_g") local B = GetConVarNumber("chat_tags_color_b") local A = GetConVarNumber("chat_tags_color_a") ...to... local R = 255 local G = 255 local B = 255 local A = 255 ...or any colour values you wish. For a full fix you don't have to meddle with, download this file: cs_ct.txt (1 KB) SOURCE: TheRealist
|
|