- Possibility to force menu type by config
- Possibility to reload admins by css command `css_admins_reload`
This commit is contained in:
Dawid Bepierszcz 2024-10-24 13:39:11 +02:00
parent b38b9a0751
commit 82b82722a6
8 changed files with 45 additions and 9 deletions

View file

@ -161,6 +161,12 @@ public partial class CS2_SimpleAdmin
var command = info.GetArg(0).ToLower();
if (command == "css_admins_reload")
{
AddTimer(1.0f, () => ReloadAdmins(null));
return HookResult.Continue;
}
if (!command.Contains("say"))
return HookResult.Continue;