Skip to content

Commit

Permalink
Auto execute command for game mode
Browse files Browse the repository at this point in the history
  • Loading branch information
oylsister committed Nov 1, 2024
1 parent e0952ee commit 88d9829
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ZombieSharp/ZombieSharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88d9829

Please sign in to comment.