AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   trusted menu - colors.inc issue (https://forums.alliedmods.net/showthread.php?t=316409)

1Mystery 05-21-2019 16:46

trusted menu - colors.inc issue
 
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:
https://i.imgur.com/xkIwmu8.png
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.

zwolofmeister 05-21-2019 18:44

Re: trusted menu - colors.inc issue
 
ur probably using simple chat processor, try chat processor, or some outdated plugins

1Mystery 05-21-2019 22:25

Re: trusted menu - colors.inc issue
 
Quote:

Originally Posted by zwolofmeister (Post 2652584)
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 05-21-2019 22:26

Re: trusted menu - colors.inc issue
 
Do i have to adjust the plugin to work with the colors at all? I really don't understand how these colors plugins work.

Powerlord 05-22-2019 00:30

Re: trusted menu - colors.inc issue
 
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.

1Mystery 05-22-2019 12:04

Re: trusted menu - colors.inc issue
 
Quote:

Originally Posted by Powerlord (Post 2652608)
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.


All times are GMT -4. The time now is 16:50.

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