mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-17 10:31:01 +00:00
Fixed map permission
This commit is contained in:
@@ -202,7 +202,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
||||
}
|
||||
|
||||
[ConsoleCommand("css_map")]
|
||||
[RequiresPermissions("@css/map")]
|
||||
[RequiresPermissions("@css/changemap")]
|
||||
[CommandHelper(minArgs: 1, usage: "<mapname>", whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
|
||||
public void OnMapCommand(CCSPlayerController? caller, CommandInfo command)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ It's only plugin base, I don't have much time for more extensive development, so
|
||||
- css_kick <#userid or name> [reason] - Kick player / @css/kick
|
||||
- css_slay <#userid or name> - Kill player // @css/slay
|
||||
- css_slap <#userid or name> [damage] - Slap player // @css/slay
|
||||
- css_map <mapname> - Change map // @css/map
|
||||
- css_map <mapname> - Change map // @css/changemap
|
||||
- css_say <message> - Say message as admin in chat // @css/chat
|
||||
- css_psay <#userid or name> <message> - Sends private message to player // @css/chat
|
||||
- css_csay <message> - Say message as admin in center // @css/chat
|
||||
|
||||
Reference in New Issue
Block a user