Raised This Month: $ Target: $400
 0% 

[Request] Menu - Simple Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cyanide
Member
Join Date: Nov 2011
Old 03-03-2013 , 20:37   [Request] Menu - Simple Chat Colors
Reply With Quote #1

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
Cyanide is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-03-2013 , 22:02   Re: [Request] Menu - Simple Chat Colors
Reply With Quote #2

[Source 2009] Custom Chat Colors Menu

Search be thy friend.
__________________

Last edited by thetwistedpanda; 03-03-2013 at 22:02.
thetwistedpanda 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 04:20.


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