From 0165361efcac342a9ae8685694112806db5390af Mon Sep 17 00:00:00 2001 From: jenz Date: Sat, 17 Feb 2024 20:40:35 +0100 Subject: [PATCH] fucked up the parameters --- jenz_ban_detector/scripting/jenz_ban_detector.sp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jenz_ban_detector/scripting/jenz_ban_detector.sp b/jenz_ban_detector/scripting/jenz_ban_detector.sp index 25114288..723e2a22 100644 --- a/jenz_ban_detector/scripting/jenz_ban_detector.sp +++ b/jenz_ban_detector/scripting/jenz_ban_detector.sp @@ -276,7 +276,10 @@ public void sql_select_sb_bans(Database db, DBResultSet results, const char[] er char message[1024]; Format(message, sizeof(message), "Ban avoiding (Jenz ban detector). SteamID avoiding ban: %s", sSID); //instead of permaban now just banning the alt account for circa 3 months. - SBPP_BanPlayer(131487, client, 0, message); + SBPP_BanPlayer(0, client, 131487, message); + //first parameter is client doing the ban, should be 0 so its console. + //second parameter is the target getting banned + //third parameter was the actual timevalue. } delete results; }