mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Formatting
This commit is contained in:
parent
d8158b7e76
commit
40be14dad6
2 changed files with 4 additions and 8 deletions
|
|
@ -48,16 +48,13 @@ function GetTeamCounts( %game, %client, %respawn )
|
||||||
%client = ClientGroup.getObject(%i);
|
%client = ClientGroup.getObject(%i);
|
||||||
|
|
||||||
//if(!%client.isAIControlled())
|
//if(!%client.isAIControlled())
|
||||||
$PlayerCount[%client.team]++;
|
$PlayerCount[%client.team]++;
|
||||||
}
|
}
|
||||||
|
|
||||||
//echo ("Clientgroup " @ ClientGroup.getCount());
|
|
||||||
//echo ("$PlayerCount[0] " @ $PlayerCount[0]);
|
//echo ("$PlayerCount[0] " @ $PlayerCount[0]);
|
||||||
//echo ("$PlayerCount[1] " @ $PlayerCount[1]);
|
//echo ("$PlayerCount[1] " @ $PlayerCount[1]);
|
||||||
//echo ("$PlayerCount[2] " @ $PlayerCount[2]);
|
//echo ("$PlayerCount[2] " @ $PlayerCount[2]);
|
||||||
//echo ("client.team " @ %client.team);
|
|
||||||
|
|
||||||
//Other variables
|
|
||||||
//Amount of players on teams
|
//Amount of players on teams
|
||||||
$TotalTeamPlayerCount = $PlayerCount[1] + $PlayerCount[2];
|
$TotalTeamPlayerCount = $PlayerCount[1] + $PlayerCount[2];
|
||||||
//Amount of all players including observers
|
//Amount of all players including observers
|
||||||
|
|
@ -65,12 +62,11 @@ function GetTeamCounts( %game, %client, %respawn )
|
||||||
//Difference Variables
|
//Difference Variables
|
||||||
$Team1Difference = $PlayerCount[1] - $PlayerCount[2];
|
$Team1Difference = $PlayerCount[1] - $PlayerCount[2];
|
||||||
$Team2Difference = $PlayerCount[2] - $PlayerCount[1];
|
$Team2Difference = $PlayerCount[2] - $PlayerCount[1];
|
||||||
|
|
||||||
|
|
||||||
//Start Base Rape Notify
|
//Start Base Rape Notify
|
||||||
schedule(500, 0, "NBRStatusNotify", %game);
|
schedule(500, 0, "NBRStatusNotify", %game);
|
||||||
//Start Team Balance Notify
|
//Start Team Balance Notify
|
||||||
schedule(1000, 0, "TeamBalanceNotify", %game);
|
schedule(1000, 0, "TeamBalanceNotify", %game, %client, %respawn );
|
||||||
//Start AntiCloak
|
//Start AntiCloak
|
||||||
schedule(1500, 0, "ActivateAntiCloak", %game);
|
schedule(1500, 0, "ActivateAntiCloak", %game);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ function NBRAssetSound( %game, %sourceObject )
|
||||||
{
|
{
|
||||||
%client = %sourceObject;
|
%client = %sourceObject;
|
||||||
|
|
||||||
if( !%client.NBRAssetSoundMsgPlayed )
|
if( !%client.NBRAssetSoundMsgPlayed && $CurrentMissionType $= "CTF" && $Host::EnableNoBaseRapeNotify && !$Host::TournamentMode && $Host::EvoNoBaseRapeEnabled )
|
||||||
{
|
{
|
||||||
messageClient(%sourceObject.client, 'MsgNoBaseRapeNotify', '\c2No Base Rape is enabled until %1 players.', $Host::EvoNoBaseRapeClassicPlayerCount );
|
messageClient(%sourceObject.client, 'MsgNoBaseRapeNotify', '\c2No Base Rape is enabled until %1 players.', $Host::EvoNoBaseRapeClassicPlayerCount );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue