Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Chat Colors Hex Color Codes Bug #40

Open
Cruze03 opened this issue Jul 30, 2018 · 4 comments
Open

Custom Chat Colors Hex Color Codes Bug #40

Cruze03 opened this issue Jul 30, 2018 · 4 comments

Comments

@Cruze03
Copy link

Cruze03 commented Jul 30, 2018

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.

@Hexer10
Copy link
Contributor

Hexer10 commented Jul 30, 2018

If the game is csgo you can't use hexcolors

@Cruze03
Copy link
Author

Cruze03 commented Jul 31, 2018

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

@Hexer10
Copy link
Contributor

Hexer10 commented Jul 31, 2018

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

@Drixevel-Archive
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants