Skip to content

Commit

Permalink
Fixed map permission
Browse files Browse the repository at this point in the history
  • Loading branch information
daffyyyy committed Dec 3, 2023
1 parent d496977 commit 5381214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CS2-SimpleAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void OnSlapCommand(CCSPlayerController? caller, CommandInfo command)
}

[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)
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5381214

Please sign in to comment.