replaced include with sourceban++ one
This commit is contained in:
parent
ab3b679d51
commit
a136011235
@ -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)");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user