fucked up the parameters

This commit is contained in:
jenz 2024-02-17 20:40:35 +01:00
parent 5f04a2f76a
commit 0165361efc

View File

@ -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;
}