mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Update
This commit is contained in:
parent
e3a21ccb29
commit
2cef340b91
1 changed files with 1 additions and 7 deletions
8
Classic/scripts/autoexec/GetTeamCounts.cs
Normal file → Executable file
8
Classic/scripts/autoexec/GetTeamCounts.cs
Normal file → Executable file
|
|
@ -54,13 +54,7 @@ function GetTeamCounts(%game)
|
||||||
$AllPlayerCount = $HostGamePlayerCount;
|
$AllPlayerCount = $HostGamePlayerCount;
|
||||||
|
|
||||||
//Observers
|
//Observers
|
||||||
$Observers = 0;
|
$Observers = $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]);
|
||||||
for(%i = 0; %i < ClientGroup.getCount(); %i++)
|
|
||||||
{
|
|
||||||
%cl = ClientGroup.getObject(%i);
|
|
||||||
if(%cl.team $= 0)
|
|
||||||
$Observers++;
|
|
||||||
}
|
|
||||||
|
|
||||||
//echo("$PlayerCount[0] " @ $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]));
|
//echo("$PlayerCount[0] " @ $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]));
|
||||||
//echo("$PlayerCount[1] " @ $TeamRank[1, count]);
|
//echo("$PlayerCount[1] " @ $TeamRank[1, count]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue