Chat-Processor icon indicating copy to clipboard operation
Chat-Processor copied to clipboard

Custom Chat Colors Hex Color Codes Bug

Open Cruze03 opened this issue 6 years ago • 4 comments

When you add hex color in "namecolor" (didn't check if it shows like this in other fields also), it shows like this ~>http://prntscr.com/kcpx2s Here is my config: http://prntscr.com/kcpvsb

Otherwise, perfect chat processor. Good job and thanks for making it.

Cruze03 avatar Jul 30 '18 16:07 Cruze03

If the game is csgo you can't use hexcolors

Hexer10 avatar Jul 30 '18 21:07 Hexer10

Oh, so how many colors do csgo has? Can you please mention? Thanks for the reply ^.^

Cruze03 avatar Jul 31 '18 15:07 Cruze03

~iirc they use the colorvariables colors so: https://gist.github.com/Hexer10/57d76f26fe3a0bb35b57b3f32649a24c~

I was wrong so you can either try to use https://github.com/PremyslTalich/ColorVariables/blob/master/addons/sourcemod/scripting/includes/colorvariables.inc#L966-L983

the code "\xNN" where N is the number you can find in that file, im not sure if it'll work or you can use a plugin of mine

Hexer10 avatar Jul 31 '18 19:07 Hexer10

CSGO only has access to basic colors and not color codes. It should allow you to use regular hex codes as well, there isn't anything stopping that unless you have remove colors enabled.

Drixevel-Archive avatar Jul 31 '18 20:07 Drixevel-Archive