csgo-practice-mode
csgo-practice-mode copied to clipboard
Permissions? / Custom Work
thx
For 1 & 2, you can disable things with sourcemod's permission system like here: https://github.com/splewis/csgo-practice-mode/wiki/Command-access.
You want to use the actual command (sm_savegrenade
& sm_savegrenade
, in your case) the plugin registers to sourcemod though, (.throw and such are just practicemode-local chat aliases).
To know those actual command names you have to take a look at the source code, which is how I got them: https://github.com/splewis/csgo-practice-mode/blob/175dfacb123ca087c93a230594a2f970752188e2/scripting/practicemode.sp#L465
https://github.com/splewis/csgo-practice-mode/blob/175dfacb123ca087c93a230594a2f970752188e2/scripting/practicemode.sp#L474
For 3: I just added a sm_practicemode_max_placed_bots
cvar in 175dfacb123ca087c93a230594a2f970752188e2. You could get the latest plugin build with it from https://ci.splewis.net/job/csgo-practice-mode/, if you want to use it now.