mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Update
This commit is contained in:
parent
e3a21ccb29
commit
2cef340b91
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;
|
||||
|
||||
//Observers
|
||||
$Observers = 0;
|
||||
for(%i = 0; %i < ClientGroup.getCount(); %i++)
|
||||
{
|
||||
%cl = ClientGroup.getObject(%i);
|
||||
if(%cl.team $= 0)
|
||||
$Observers++;
|
||||
}
|
||||
$Observers = $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]);
|
||||
|
||||
//echo("$PlayerCount[0] " @ $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]));
|
||||
//echo("$PlayerCount[1] " @ $TeamRank[1, count]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue