Hello, first of all, I have this plugin here:
https://forums.alliedmods.net/showthread.php?p=1721580
It's a very nice simple chat plugin and everything but I was wondering if we could add to it. I asked Dr. McKay and he told me to post in here.
What I was thinking is this:
- One command for example: !colors
That command with open a menu to the client which will make them decide which color they want for their Tag, Name, and Chat. Obviously, I want that to be for a certain flag.
In Dr McKay plugin, there is a custom-chatcolors.cfg which create something like this:
PHP Code:
"admin_colors"
{
"STEAM ID OR GROUPE"
{
"flag" "o"
"tag" "[Admin] "
"tagcolor" ""
"namecolor" "#F75700"
"textcolor" "#FFFF00"
}
}
So what it would do is, when you add an admin for example in sourcebans, it adds to this list then execute sm_reloadccc in the server which reload the chat colors.
Thanks a lot