Raised This Month: $51 Target: $400
 12% 

trusted menu - colors.inc issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
1Mystery
Junior Member
Join Date: May 2019
Old 05-21-2019 , 16:46   trusted menu - colors.inc issue
Reply With Quote #1

Hello, I'm trying to add this menu to my server, and it mostly works fine except for it has a problem displaying colors.
Trusted Menu:
Trusted Menu
see here:

It's displaying a bunch of random numbers and I don't understand why.
I tried to read the code, and i'm pretty new to sourcepawn so i don't understand much, but i setup colors.inc and everything and compiled it but it just doesn't seem to work right.
can anyone help me out please?
thanks.

Last edited by 1Mystery; 05-21-2019 at 16:46.
1Mystery is offline
zwolofmeister
Member
Join Date: Aug 2018
Old 05-21-2019 , 18:44   Re: trusted menu - colors.inc issue
Reply With Quote #2

ur probably using simple chat processor, try chat processor, or some outdated plugins
zwolofmeister is offline
1Mystery
Junior Member
Join Date: May 2019
Old 05-21-2019 , 22:25   Re: trusted menu - colors.inc issue
Reply With Quote #3

Quote:
Originally Posted by zwolofmeister View Post
ur probably using simple chat processor, try chat processor, or some outdated plugins
hi, so yeah it seems i had both installed, so i got rid of the simple one and kept the one you mentioned. all logs are clean without any plugin errors. yet the colors still don't work with the same issue.
1Mystery is offline
1Mystery
Junior Member
Join Date: May 2019
Old 05-21-2019 , 22:26   Re: trusted menu - colors.inc issue
Reply With Quote #4

Do i have to adjust the plugin to work with the colors at all? I really don't understand how these colors plugins work.
1Mystery is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-22-2019 , 00:30   Re: trusted menu - colors.inc issue
Reply With Quote #5

Are you running this plugin on CS:GO?

CS:S (and the other 3 games that run the same version of the engine) support using hexadecimal color codes while CS:GO doesn't. Hence why the MoreColors include is marked as being for those games only.

For the most part, you can just recompile the plugin using colors.inc instead... or go one step farther and upgrade it to support Multicolors which will switch between the two at runtime depending on which game is being used.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-22-2019 at 00:34.
Powerlord is offline
1Mystery
Junior Member
Join Date: May 2019
Old 05-22-2019 , 12:04   Re: trusted menu - colors.inc issue
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
Are you running this plugin on CS:GO?

CS:S (and the other 3 games that run the same version of the engine) support using hexadecimal color codes while CS:GO doesn't. Hence why the MoreColors include is marked as being for those games only.

For the most part, you can just recompile the plugin using colors.inc instead... or go one step farther and upgrade it to support Multicolors which will switch between the two at runtime depending on which game is being used.
Hi, Yes I am using CS:GO. I was not aware that it did not support CS:GO. I updated to Multi Colors like you suggested and It works like a charm. Thank you so much.
1Mystery is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode