mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-11 06:04:33 +00:00
Added some changeable variables
Cleaned up some stuff Added some host changeable variables
This commit is contained in:
parent
faa2c99ebc
commit
63984711b6
8 changed files with 273 additions and 81 deletions
|
|
@ -1,7 +1,12 @@
|
|||
//Enable or Disable
|
||||
//$Host::EnableTeamBalanceNotify = 1;
|
||||
//
|
||||
//Give the client a notification on the current state of balancing.
|
||||
//This function is in GetTeamCounts( %game, %client, %respawn ) GetTeamCounts.cs
|
||||
function TeamBalanceNotify::AtSpawn( %game, %client, %respawn )
|
||||
{
|
||||
if( $CurrentMissionType !$= "LakRabbit" && $TotalTeamPlayerCount !$= 0 && $Host::EnableTeamBalanceNotify )
|
||||
{
|
||||
//Call for a GetTeamCount update
|
||||
//GetTeamCounts( %game, %client, %respawn );
|
||||
|
||||
|
|
@ -57,6 +62,7 @@ function TeamBalanceNotify::AtSpawn( %game, %client, %respawn )
|
|||
$StatsBalanceCount = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Called in CTFGame::flagCap in evo CTFGame.ovl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue