From bcaba4ce492c39f2552334f5ad4340a16f1d6078 Mon Sep 17 00:00:00 2001 From: jenz Date: Tue, 19 Aug 2025 00:56:57 +0200 Subject: [PATCH] added to a later forward for muting --- block_nosteam_bhop/scripting/BlockNosteam_features.sp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/block_nosteam_bhop/scripting/BlockNosteam_features.sp b/block_nosteam_bhop/scripting/BlockNosteam_features.sp index 2d2c879..7431a76 100755 --- a/block_nosteam_bhop/scripting/BlockNosteam_features.sp +++ b/block_nosteam_bhop/scripting/BlockNosteam_features.sp @@ -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;