public Plugin myinfo = {
name = "Bot Crash Prevention",
author = "Sylwester, Peace-Maker",
description = "Prevents addition of too many bots during team switches.",
version = "2.0",
url = "https://forums.alliedmods.net/showthread.php?t=297839"
};
public void OnPluginStart()
{
g_cvBotQuota = FindConVar("bot_quota");
}
public void OnConfigsExecuted()
{
g_iBotQuota = g_cvBotQuota.IntValue;
}
public void OnClientPutInServer(int client)
{
if(!IsFakeClient(client))
return;