mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-18 02:41:55 +00:00
added client only of css_admin
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user