FakePopulation: partial fix
This commit is contained in:
parent
7ee6d2871f
commit
2f628d9846
@ -34,7 +34,7 @@ public void OnPluginEnd()
|
||||
{
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if(IsClientConnected(i) && IsFakeClient(i))
|
||||
if(IsClientConnected(i) && IsFakeClient(i) && !IsClientSourceTV(i))
|
||||
KickClient(i);
|
||||
}
|
||||
}
|
||||
@ -47,7 +47,7 @@ public Action Command_DebugFakes(int client, int argc)
|
||||
int iFakes = 0;
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if(IsClientConnected(i) && IsFakeClient(i))
|
||||
if(IsClientConnected(i) && IsFakeClient(i) && !IsClientSourceTV(i))
|
||||
iFakes++;
|
||||
}
|
||||
ReplyToCommand(client, "[SM] There are currently %d Fake Players.", iFakes);
|
||||
@ -87,7 +87,7 @@ public void CheckPopulation()
|
||||
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if(IsClientConnected(i) && IsFakeClient(i))
|
||||
if(IsClientConnected(i) && IsFakeClient(i) && !IsClientSourceTV(i))
|
||||
iFakes++;
|
||||
}
|
||||
|
||||
@ -122,7 +122,7 @@ public void CheckPopulation()
|
||||
{
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if(IsClientConnected(i) && IsFakeClient(i))
|
||||
if(IsClientConnected(i) && IsFakeClient(i) && !IsClientSourceTV(i))
|
||||
{
|
||||
KickClient(i);
|
||||
iFakes--;
|
||||
|
Loading…
Reference in New Issue
Block a user