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

[Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)


Post New Thread Reply   
 
Thread Tools Display Modes
maxolahird
Veteran Member
Join Date: Dec 2012
Old 04-06-2014 , 11:46   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #181

As soon as map changes color go back to normal
maxolahird is offline
Donski
Senior Member
Join Date: Sep 2012
Old 04-07-2014 , 09:59   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #182

Is that an answer to my question or is that a problem you're having?
Donski is offline
Donski
Senior Member
Join Date: Sep 2012
Old 04-15-2014 , 16:54   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #183

Is it possible to make it so that if the user does not have any valid flag it doesn't provide them chat colors, even if they exist on the database?
Donski is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-29-2014 , 04:46   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #184

Plugin checks once it has the handles in the database if rows exist. If player is not admin, removes all database entries with that auth ID. Might need to add default values but didn't bother to check.

- Jack
Attached Files
File Type: sp Get Plugin or Get Source (custom-chatcolors-menu.sp - 93 views - 30.8 KB)
Drixevel is offline
Trans_Am_00
Senior Member
Join Date: Jul 2013
Location: 127.0.0.1
Old 05-03-2014 , 09:38   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #185

@Reflexpoison:Is it possible to make everybody can use the !ccc command? Not just the admin only
__________________
-= Trans-Am =-
Quote:
Where pink owns everything
Trans_Am_00 is offline
KiRRA
Senior Member
Join Date: Nov 2012
Old 05-03-2014 , 12:45   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #186

Quote:
Originally Posted by Trans_Am_00 View Post
@Reflexpoison:Is it possible to make everybody can use the !ccc command? Not just the admin only
You can add an admin override for the command: "sm_ccc" and have it set to "" so all players can use it.

Unless that was changed in a more recent version of the plugin it should still work as that is how we set ours, except for donators only.
__________________
FuG's TF2 PropHunt/Dodgeball Server - 209.144.30.29:27015
KiRRA is offline
Trans_Am_00
Senior Member
Join Date: Jul 2013
Location: 127.0.0.1
Old 05-04-2014 , 00:59   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #187

@KiRRA:
Quote:
Originally Posted by KiRRA
You can add an admin override for the command: "sm_ccc" and have it set to "" so all players can use it.
Where or how do i do this? What is the full command for this? sm_ccc ?
__________________
-= Trans-Am =-
Quote:
Where pink owns everything
Trans_Am_00 is offline
KiRRA
Senior Member
Join Date: Nov 2012
Old 05-04-2014 , 01:10   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #188

Quote:
Originally Posted by Trans_Am_00 View Post
@KiRRA:

Where or how do i do this? What is the full command for this? sm_ccc ?
If you're using just sourcemod to handle your admins there should be a file in the sourcemod/configs folder named admin_overrides (or similar, I'm not at my computer to check). You can edit that file and add "sm_ccc" "" to it.
__________________
FuG's TF2 PropHunt/Dodgeball Server - 209.144.30.29:27015
KiRRA is offline
Trans_Am_00
Senior Member
Join Date: Jul 2013
Location: 127.0.0.1
Old 05-04-2014 , 02:00   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #189

@KiRRA : Like this?
Code:
Overrides
{
    /**
     * By default, commands are registered with three pieces of information:
     * 1)Command Name         (for example, "csdm_enable")
     * 2)Command Group Name    (for example, "CSDM")
     * 3)Command Level        (for example, "changemap")
     *
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
     *
     * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
     * any setting that csdm_enable previously had.
     *
     * You can make a command completely public by using an empty flag string.
     */
     sm_ccc
}
So i just add in < sm_ccc > with no value behind?
__________________
-= Trans-Am =-
Quote:
Where pink owns everything
Trans_Am_00 is offline
KiRRA
Senior Member
Join Date: Nov 2012
Old 05-04-2014 , 08:14   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #190

Quote:
Originally Posted by Trans_Am_00 View Post
@KiRRA : Like this?
Code:
Overrides
{
    /**
     * By default, commands are registered with three pieces of information:
     * 1)Command Name         (for example, "csdm_enable")
     * 2)Command Group Name    (for example, "CSDM")
     * 3)Command Level        (for example, "changemap")
     *
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
     *
     * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
     * any setting that csdm_enable previously had.
     *
     * You can make a command completely public by using an empty flag string.
     */
     sm_ccc
}
So i just add in < sm_ccc > with no value behind?
You will need the quotations around both the blank flag and the command so it will have to look like:

"sm_ccc" "" //Provides all users access to ccc menu

Replace what you have with what I have typed above and it should work.
__________________
FuG's TF2 PropHunt/Dodgeball Server - 209.144.30.29:27015

Last edited by KiRRA; 05-04-2014 at 08:17.
KiRRA 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 06:58.


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