diff -r f6b012df2527 -r 369d95743d20 scripting/dm_bot_quotas.sp --- a/scripting/dm_bot_quotas.sp Wed Nov 14 06:27:01 2007 +0000 +++ b/scripting/dm_bot_quotas.sp Wed Nov 14 07:28:14 2007 +0000 @@ -62,13 +62,18 @@ BalanceBots(quota) { + if (!quota) + { + return; + } + new maxClients = GetMaxClients() new humans, bots /* Get the number of valid humans and bots */ for (new i=1; i<=maxClients; i++) { - if (!IsPlayerInGame(i)) + if (!IsClientInGame(i)) { continue }