added to a later forward for muting

This commit is contained in:
jenz 2025-08-19 00:56:57 +02:00
parent 2d5afcf67c
commit bcaba4ce49

View File

@ -75,13 +75,19 @@ public void SQL_OnConnectFinished(Database db, DBResultSet results, const char[]
}
}
public void OnClientAuthorized(int client, const char[] sAuthID)
public void OnClientPostAdminCheck(int client)
{
if (!IsFakeClient(client) && !IsClientSourceTV(client) && !PM_IsPlayerSteam(client))
{
//added simple auto muter for nosteamers again.
BaseComm_SetClientMute(client, true);
}
}
public void OnClientAuthorized(int client, const char[] sAuthID)
{
if (!IsFakeClient(client) && !IsClientSourceTV(client) && !PM_IsPlayerSteam(client))
{
bhop_restricted_nosteamer[client] = true;
buttons_old[client] = 0;
flags_old[client] = 0;