Quote:
Originally Posted by Kubus02
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.