mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
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")]
|
[ConsoleCommand("css_admin")]
|
||||||
[RequiresPermissions("@css/generic")]
|
[RequiresPermissions("@css/generic")]
|
||||||
|
[CommandHelper(minArgs: 0, usage: "", whoCanExecute: CommandUsage.CLIENT_ONLY)]
|
||||||
public void OnAdminCommand(CCSPlayerController? caller, CommandInfo command)
|
public void OnAdminCommand(CCSPlayerController? caller, CommandInfo command)
|
||||||
{
|
{
|
||||||
if (caller == null || caller.IsValid == false)
|
if (caller == null || caller.IsValid == false)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue