FakeClients: latest update
running on the server for a while already
This commit is contained in:
parent
1aaadd4c75
commit
ca633f77b7
@ -214,6 +214,7 @@ public Action Command_DebugFakes(int client, int argc)
|
||||
{
|
||||
int iFakes = 0;
|
||||
int iFakesInTeam = 0;
|
||||
int iPlayers = GetClientCount(false);
|
||||
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
@ -222,9 +223,14 @@ public Action Command_DebugFakes(int client, int argc)
|
||||
|
||||
if (g_bFakePopulation[i] && GetClientTeam(i) > 0)
|
||||
iFakesInTeam++;
|
||||
|
||||
if(IsClientConnected(i) && IsFakeClient(i))
|
||||
iPlayers--;
|
||||
}
|
||||
|
||||
ReplyToCommand(client, "[SM] There are currently %d Fake-Clients, from which %d are in Spectate.", iFakes, iFakes - iFakesInTeam);
|
||||
ReplyToCommand(client, "[SM] Server Population at the end of the previous Map: %d.", g_iPopulation);
|
||||
ReplyToCommand(client, "[SM] Current Server Population: %d. Difference: %d.", iPlayers, iPlayers - g_iPopulation);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user