mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 08:34:43 +00:00
Added Annotations
This commit is contained in:
parent
237e45927e
commit
98a85d26f4
2 changed files with 14 additions and 5 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
//Fire Autobalance
|
// Enable or Disable Autobalance
|
||||||
|
// $Host::EnableAutobalance = 1;
|
||||||
|
//
|
||||||
|
// Run from TeamBalanceNotify.cs via StatsUnbalanceSound( %game )
|
||||||
|
// Getting random client aspects run in GetTeamCounts.cs
|
||||||
|
//
|
||||||
|
// Fire Autobalance
|
||||||
function Autobalance( %game, %AutobalanceSafetynetTrys )
|
function Autobalance( %game, %AutobalanceSafetynetTrys )
|
||||||
{
|
{
|
||||||
if( $CurrentMissionType !$= "LakRabbit" && $Host::EnableTeamBalanceNotify && $StatsMsgPlayed $= 1 && !$Host::TournamentMode )
|
if( $CurrentMissionType !$= "LakRabbit" && $Host::EnableTeamBalanceNotify && $StatsMsgPlayed $= 1 && !$Host::TournamentMode )
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
//Enable or Disable
|
// Enable or Disable
|
||||||
//$Host::EnableTeamBalanceNotify = 1;
|
// $Host::EnableTeamBalanceNotify = 1;
|
||||||
|
// Enable or Disable Autobalance
|
||||||
|
// $Host::EnableAutobalance = 1;
|
||||||
//
|
//
|
||||||
//Give the client a notification on the current state of balancing.
|
// Give the client a notification on the current state of balancing.
|
||||||
//This function is in GetTeamCounts.cs
|
//
|
||||||
|
// This function is in GetTeamCounts.cs
|
||||||
function TeamBalanceNotify( %game )
|
function TeamBalanceNotify( %game )
|
||||||
{
|
{
|
||||||
if( $CurrentMissionType !$= "LakRabbit" && $TotalTeamPlayerCount !$= 0 && $Host::EnableTeamBalanceNotify && !$Host::TournamentMode )
|
if( $CurrentMissionType !$= "LakRabbit" && $TotalTeamPlayerCount !$= 0 && $Host::EnableTeamBalanceNotify && !$Host::TournamentMode )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue