Raised This Month: $99 Target: $400
 24% 

dm_bot_quotas and spectator


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
janpepu
AlliedModders Donor
Join Date: Sep 2007
Location: france
Old 12-31-2018 , 19:38   dm_bot_quotas and spectator
Reply With Quote #1

HI,

cssdm_bots_balance 4
4 spectators = 0 bots
Someone to help for fix ?

Code:
if (IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) != 0 && GetClientTeam(i) != 1)
Code:
public Action EventPlayerTeam(Event event, const char[] name, bool dontBroadcast)

{

	new team = GetEventInt(event, "team"); 
	if (team == 0) 
	{ 
		BalanceBots(GetConVarInt(BalanceAmt));
	}
	if (team == 1) 
		{ 
			BalanceBots(GetConVarInt(BalanceAmt));

		}
	if (team == 2) 
		{ 
			BalanceBots(GetConVarInt(BalanceAmt));

		}
	if (team == 3) 
		{ 
			BalanceBots(GetConVarInt(BalanceAmt));

		}
}
Thanks

Last edited by janpepu; 12-31-2018 at 19:38.
janpepu is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:43.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode