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

Solved I need help with permissions in this plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zyczu55
New Member
Join Date: Sep 2017
Old 04-11-2020 , 08:25   I need help with permissions in this plugin
Reply With Quote #1

https://forums.alliedmods.net/showthread.php?p=2229873
As the title says. I want to set BAN or SLAY flag for it but I dont know how to do it. And no, admin overrides dont work by just putting /tv or !tv or tv. (tv is just example of prop name)

Last edited by Zyczu55; 04-11-2020 at 10:13.
Zyczu55 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-11-2020 , 09:57   Re: I need help with permissions in this plugin
Reply With Quote #2

https://forums.alliedmods.net/showth...22#post2692422

Make this override change in ...addons\sourcemod\configs\admin_overrides.c fg
PHP 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.
     */
     
     
     
     
"prop_spawner"        "f" // slay

__________________
Do not Private Message @me
Bacardi is offline
Zyczu55
New Member
Join Date: Sep 2017
Old 04-11-2020 , 10:13   Re: I need help with permissions in this plugin
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
https://forums.alliedmods.net/showth...22#post2692422

Make this override change in ...addons\sourcemod\configs\admin_overrides.c fg
PHP 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.
     */
     
     
     
     
"prop_spawner"        "f" // slay

Ok, that works. Thank you.
Zyczu55 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 00:32.


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