[FakeClients] Remove bot motherzm exclusion & fix indents.
This commit is contained in:
parent
ac7de82c6c
commit
87bb74837f
@ -12,9 +12,6 @@ ArrayList g_hNames;
|
||||
bool g_bFakePopulation[MAXPLAYERS + 1];
|
||||
bool g_bMapEnded;
|
||||
|
||||
//check if autismbot
|
||||
bool is_bot_player[MAXPLAYERS + 1];
|
||||
|
||||
int g_iBaseLatency[MAXPLAYERS + 1];
|
||||
int g_iLatency[MAXPLAYERS + 1];
|
||||
|
||||
@ -328,7 +325,6 @@ public void OnClientDisconnect(int client)
|
||||
RequestFrame(CheckPopulation);
|
||||
g_bCheckRequested = true;
|
||||
}
|
||||
is_bot_player[client] = false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -494,31 +490,8 @@ public void OnGameFrame()
|
||||
|
||||
public Action ZR_OnClientMotherZombieEligible(int client)
|
||||
{
|
||||
if (g_bFakePopulation[client] || is_bot_player[client])
|
||||
if (g_bFakePopulation[client])
|
||||
return Plugin_Handled;
|
||||
|
||||
return Plugin_Continue;
|
||||
}
|
||||
|
||||
public void OnClientPostAdminCheck(int client)
|
||||
{
|
||||
is_bot_player[client] = false;
|
||||
char auth[50];
|
||||
GetClientAuthId(client, AuthId_Engine, auth, sizeof(auth));
|
||||
if (StrEqual("[U:1:1221121532]", auth, false) || StrEqual("STEAM_0:0:610560766", auth, false))
|
||||
{
|
||||
is_bot_player[client] = true;
|
||||
}
|
||||
if (StrEqual("[U:1:408797742]", auth, false) || StrEqual("STEAM_0:0:204398871", auth, false))
|
||||
{
|
||||
is_bot_player[client] = true;
|
||||
}
|
||||
if (StrEqual("[U:1:1036189204]", auth, false) || StrEqual("STEAM_0:0:518094602", auth, false))
|
||||
{
|
||||
is_bot_player[client] = true;
|
||||
}
|
||||
if (StrEqual("[U:1:120378081]", auth, false) || StrEqual("STEAM_0:1:60189040", auth, false))
|
||||
{
|
||||
is_bot_player[client] = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user