maybe just kicking works instead

This commit is contained in:
christian 2021-12-02 00:49:10 +01:00
parent 4ff5a119d0
commit d51233a231

View File

@ -175,8 +175,9 @@ public SQL_OnConnected(Handle:owner, Handle:handle, const String:error[], any:da
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[], any:client) public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[], any:client)
{ {
//SBPP_BanPlayer(0, client, 0, "Ban evasion (FS)");
if (handle != INVALID_HANDLE && SQL_FetchRow(handle)) if (handle != INVALID_HANDLE && SQL_FetchRow(handle))
SBPP_BanPlayer(0, client, 0, "Ban evasion (FS)"); KickClient(client, "Ban evasion (FS)");
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
@ -184,6 +185,7 @@ public SQL_OnCheckClientSteamID(Handle:owner, Handle:handle, const String:error[
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public SQL_OnCheckClientIP(Handle:owner, Handle:handle, const String:error[], any:client) public SQL_OnCheckClientIP(Handle:owner, Handle:handle, const String:error[], any:client)
{ {
//SBPP_BanPlayer(0, client, 0, "Ban evasion (IP)");
if (handle != INVALID_HANDLE && SQL_FetchRow(handle)) if (handle != INVALID_HANDLE && SQL_FetchRow(handle))
SBPP_BanPlayer(0, client, 0, "Ban evasion (IP)"); KickClient(client, "Ban evasion (IP)");
} }