added client only of css_admin
This commit is contained in:
parent
1882b14657
commit
74852f0651
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue