From 88d98293aa77caf9b63f9dd7d8b36c1e7b49d2bb Mon Sep 17 00:00:00 2001 From: Oylsister Date: Fri, 1 Nov 2024 20:22:21 +0700 Subject: [PATCH] Auto execute command for game mode --- ZombieSharp/ZombieSharp.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ZombieSharp/ZombieSharp.cs b/ZombieSharp/ZombieSharp.cs index d859028..96487c9 100644 --- a/ZombieSharp/ZombieSharp.cs +++ b/ZombieSharp/ZombieSharp.cs @@ -65,6 +65,13 @@ public override void Load(bool HotReload) } } + public override void OnAllPluginsLoaded(bool hotReload) + { + Server.ExecuteCommand("bot_quota_mode fill"); + Server.ExecuteCommand("mp_autoteambalance 0"); + Server.ExecuteCommand("mp_limitteams 0"); + } + public void InfectOnRoundFreezeEnd() { if(g_hCountdown != null)