View Single Post
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 08-04-2020 , 13:00   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1327

Quote:
Originally Posted by Kubus02 View Post
I dont know how to compile this xD Can you help me?
Let's do it differently... Locate the admin_overrides.cfg file located in the csgo/addons/sourcemod/configs folder, configure like this:
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.
     */     
     //Plugin WS & Knife
    
"buyammo1"    "z"
    "buyammo2"    "z"

See if it already solves your problem, in case only those who have access to the "z" flag / privileges can use this command, let's say.

In any case, anything sends your plugin source file that I compile for you.
paulo_crash is offline