adding 4 hour long ban for ban avoiding
This commit is contained in:
parent
a38505f5e7
commit
94e9b7d949
@ -5,6 +5,7 @@
|
|||||||
#pragma newdecls required
|
#pragma newdecls required
|
||||||
|
|
||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
|
#include <sourcebanspp>
|
||||||
#include <clientprefs>
|
#include <clientprefs>
|
||||||
#include <cstrike>
|
#include <cstrike>
|
||||||
#include <sdktools>
|
#include <sdktools>
|
||||||
@ -193,7 +194,8 @@ public void sql_select_sb_bans(Database db, DBResultSet results, const char[] er
|
|||||||
Call_PushString(sSID);
|
Call_PushString(sSID);
|
||||||
}
|
}
|
||||||
Call_Finish();
|
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;
|
delete results;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user