From d51233a2310be2ec242dade537ba484416da0c1a Mon Sep 17 00:00:00 2001 From: christian Date: Thu, 2 Dec 2021 00:49:10 +0100 Subject: [PATCH] maybe just kicking works instead --- UNLOZE_BanDetector/scripting/UNLOZE_BanDetector.sp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UNLOZE_BanDetector/scripting/UNLOZE_BanDetector.sp b/UNLOZE_BanDetector/scripting/UNLOZE_BanDetector.sp index 7931c243..d6785b21 100644 --- a/UNLOZE_BanDetector/scripting/UNLOZE_BanDetector.sp +++ b/UNLOZE_BanDetector/scripting/UNLOZE_BanDetector.sp @@ -175,8 +175,9 @@ public SQL_OnConnected(Handle:owner, Handle:handle, const String:error[], any:da //---------------------------------------------------------------------------------------------------- public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[], any:client) { + //SBPP_BanPlayer(0, client, 0, "Ban evasion (FS)"); if (handle != INVALID_HANDLE && SQL_FetchRow(handle)) - SBPP_BanPlayer(0, client, 0, "Ban evasion (FS)"); + KickClient(client, "Ban evasion (FS)"); } //---------------------------------------------------------------------------------------------------- @@ -184,6 +185,7 @@ public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[ //---------------------------------------------------------------------------------------------------- public SQL_OnCheckClientIP(Handle:owner, Handle:handle, const String:error[], any:client) { + //SBPP_BanPlayer(0, client, 0, "Ban evasion (IP)"); if (handle != INVALID_HANDLE && SQL_FetchRow(handle)) - SBPP_BanPlayer(0, client, 0, "Ban evasion (IP)"); + KickClient(client, "Ban evasion (IP)"); }