adding 4 hour long ban for ban avoiding

This commit is contained in:
jenz 2023-02-14 21:29:45 +01:00
parent a38505f5e7
commit 94e9b7d949

View File

@ -5,6 +5,7 @@
#pragma newdecls required
#include <sourcemod>
#include <sourcebanspp>
#include <clientprefs>
#include <cstrike>
#include <sdktools>
@ -193,7 +194,8 @@ public void sql_select_sb_bans(Database db, DBResultSet results, const char[] er
Call_PushString(sSID);
}
Call_Finish();
// TODO in the future: just add a sourceban ban here on the client in the future for auto bans. should just be 30 minute bans
//bans need to be over 1 hour long for getting detected
SBPP_BanPlayer(0, client, 240, "Ban avoiding (Jenz ban detector)");
}
delete results;
}