From 74852f0651bc494e61e91714d106e9bd58de2be5 Mon Sep 17 00:00:00 2001 From: Valentin Barat Date: Mon, 12 Feb 2024 23:37:55 +0100 Subject: [PATCH] added client only of css_admin --- Commands/basecommands.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Commands/basecommands.cs b/Commands/basecommands.cs index 3236485..db34324 100644 --- a/Commands/basecommands.cs +++ b/Commands/basecommands.cs @@ -47,6 +47,7 @@ namespace CS2_SimpleAdmin [ConsoleCommand("css_admin")] [RequiresPermissions("@css/generic")] + [CommandHelper(minArgs: 0, usage: "", whoCanExecute: CommandUsage.CLIENT_ONLY)] public void OnAdminCommand(CCSPlayerController? caller, CommandInfo command) { if (caller == null || caller.IsValid == false)