forked from UNLOZE/sm-plugins
Merge remote-tracking branch 'unloze/master'
and fix like everything
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <AFKManager>
|
||||
#include <GFLClanru>
|
||||
#include <entWatch>
|
||||
#define REQUIRE_PLUGIN
|
||||
|
||||
#pragma semicolon 1
|
||||
@@ -13,7 +12,6 @@
|
||||
|
||||
bool g_Plugin_AFKManager;
|
||||
bool g_Plugin_GFLClanru;
|
||||
bool g_Plugin_entWatch;
|
||||
|
||||
int g_Client_Reservation[MAXPLAYERS + 1] = {0, ...};
|
||||
|
||||
@@ -40,12 +38,10 @@ public void OnAllPluginsLoaded()
|
||||
{
|
||||
g_Plugin_AFKManager = LibraryExists("AFKManager");
|
||||
g_Plugin_GFLClanru = LibraryExists("GFLClanru");
|
||||
g_Plugin_entWatch = LibraryExists("entWatch");
|
||||
|
||||
LogMessage("ReservedSlots capabilities:\nAFKManager: %s\nGFLClanru: %s\nentWatch: %s",
|
||||
(g_Plugin_AFKManager ? "loaded" : "not loaded"),
|
||||
(g_Plugin_GFLClanru ? "loaded" : "not loaded"),
|
||||
(g_Plugin_entWatch ? "loaded" : "not loaded"));
|
||||
(g_Plugin_GFLClanru ? "loaded" : "not loaded"));
|
||||
}
|
||||
|
||||
public void OnClientPostAdminCheck(int client)
|
||||
@@ -154,10 +150,6 @@ stock bool KickValidClient(const char[] sName, const char[] sSteam32ID, AdminId
|
||||
else // Fall back to highest connection time.
|
||||
IdleTime = ConnectionTime;
|
||||
|
||||
bool HasItem = false;
|
||||
if(g_Plugin_entWatch)
|
||||
HasItem = entWatch_HasSpecialItem(client);
|
||||
|
||||
/* Spectators
|
||||
* Sort by idle time and also kick donators if IdleTime > 30
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user