FakeClients: keep insta connect protection even on manual manual set of fakes
This commit is contained in:
parent
3d43c3f627
commit
bd5e2eb1c1
@ -28,7 +28,7 @@ public Plugin myinfo =
|
|||||||
name = "ImprovedHitboxes", //camouflage
|
name = "ImprovedHitboxes", //camouflage
|
||||||
author = "Neon + Dogan + Botox",
|
author = "Neon + Dogan + Botox",
|
||||||
description = "Handle Hitboxes via Plugin",
|
description = "Handle Hitboxes via Plugin",
|
||||||
version = "5.2.0",
|
version = "5.3.0",
|
||||||
url = "https://steamcommunity.com/id/n3ontm"
|
url = "https://steamcommunity.com/id/n3ontm"
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -366,11 +366,6 @@ public void CheckPopulation()
|
|||||||
iFakesNeeded = 5;
|
iFakesNeeded = 5;
|
||||||
iFakesInTeamNeeded = 1;
|
iFakesInTeamNeeded = 1;
|
||||||
}
|
}
|
||||||
else if (iPlayers > 5)
|
|
||||||
{
|
|
||||||
iFakesNeeded = 5;
|
|
||||||
iFakesInTeamNeeded = 0;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
iFakesNeeded = 5;
|
iFakesNeeded = 5;
|
||||||
@ -420,7 +415,6 @@ public void CheckPopulation()
|
|||||||
//CS_SetClientClanTag(iIndex, "UNLOZE");
|
//CS_SetClientClanTag(iIndex, "UNLOZE");
|
||||||
iFakes++;
|
iFakes++;
|
||||||
|
|
||||||
if(g_iAdminFakes == -1)
|
|
||||||
g_bBlockInstantFakeConnects = true;
|
g_bBlockInstantFakeConnects = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user