Formatting

This commit is contained in:
ChocoTaco 2019-01-01 15:58:03 -05:00
parent c854f7f07f
commit 65f63ab053

View file

@ -38,11 +38,11 @@ function TeamBalanceNotify( %game, %client, %respawn )
//Stats Aspect. 3 or more difference gets a stats notify. //Stats Aspect. 3 or more difference gets a stats notify.
else if( $StatsMsgPlayed !$= 1) else if( $StatsMsgPlayed !$= 1)
{ {
messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced: \c0It is currently %1 vs %2 with %3 observers.', $PlayerCount[1], $PlayerCount[2], $PlayerCount[0] ); messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced: \c0It is currently %1 vs %2 with %3 observers.', $PlayerCount[1], $PlayerCount[2], $PlayerCount[0] );
//Run once. //Run once.
$StatsMsgPlayed = 1; $StatsMsgPlayed = 1;
//Called in 30 secs with sound //Called in 30 secs with sound
schedule(30000, 0, "StatsUnbalanceSound"); schedule(30000, 0, "StatsUnbalanceSound");
} }
} }
} }
@ -85,9 +85,9 @@ function UnbalancedSound()
{ {
if( $Team2Difference == 2 || $Team1Difference == 2 ) if( $Team2Difference == 2 || $Team1Difference == 2 )
{ {
messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced.~wfx/misc/bounty_objrem2.wav'); messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced.~wfx/misc/bounty_objrem2.wav');
//Called in 30 secs with sound //Called in 30 secs with sound
schedule(30000, 0, "UnbalancedSound"); schedule(30000, 0, "UnbalancedSound");
} }
else else
return; return;
@ -99,11 +99,11 @@ function UnbalancedSound()
function StatsUnbalanceSound() function StatsUnbalanceSound()
{ {
if( $Team1Difference >= 3 || $Team2Difference >= 3 ) if( $Team1Difference >= 3 || $Team2Difference >= 3 )
{ {
messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced: \c0It is currently %1 vs %2 with %3 observers.~wfx/misc/bounty_objrem2.wav', $PlayerCount[1], $PlayerCount[2], $PlayerCount[0] ); messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced: \c0It is currently %1 vs %2 with %3 observers.~wfx/misc/bounty_objrem2.wav', $PlayerCount[1], $PlayerCount[2], $PlayerCount[0] );
//Called in 30 secs with sound //Called in 30 secs with sound
schedule(30000, 0, "StatsUnbalanceSound"); schedule(30000, 0, "StatsUnbalanceSound");
} }
else else
return; return;
} }