replaced include with sourceban++ one

This commit is contained in:
christian 2021-04-30 13:53:55 +02:00
parent ab3b679d51
commit a136011235

View File

@ -7,7 +7,7 @@
//====================================================================================================
#undef REQUIRE_PLUGIN
#include <sourcemod>
#include <sourcebans>
#include <sourcebanspp>
#include <SteamWorks>
new G_iParentAuthID[MAXPLAYERS+1];
@ -176,7 +176,7 @@ public SQL_OnConnected(Handle:owner, Handle:handle, const String:error[], any:da
public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[], any:client)
{
if (handle != INVALID_HANDLE && SQL_FetchRow(handle))
SBBanPlayer(0, client, 0, "Ban evasion (FS)");
SBPP_BanPlayer(0, client, 0, "Ban evasion (FS)");
}
//----------------------------------------------------------------------------------------------------
@ -185,5 +185,5 @@ public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[
public SQL_OnCheckClientIP(Handle:owner, Handle:handle, const String:error[], any:client)
{
if (handle != INVALID_HANDLE && SQL_FetchRow(handle))
SBBanPlayer(0, client, 0, "Ban evasion (IP)");
}
SBPP_BanPlayer(0, client, 0, "Ban evasion (IP)");
}