From ec05ea8524a93c9f23b5dade7f98e63f2b6c6b43 Mon Sep 17 00:00:00 2001 From: BotoX Date: Wed, 8 Aug 2018 00:53:57 +0200 Subject: [PATCH] ReservedSlot: dont kick active players --- ReservedSlot/scripting/ReservedSlot.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReservedSlot/scripting/ReservedSlot.sp b/ReservedSlot/scripting/ReservedSlot.sp index 8660f40f..15da6235 100644 --- a/ReservedSlot/scripting/ReservedSlot.sp +++ b/ReservedSlot/scripting/ReservedSlot.sp @@ -189,7 +189,7 @@ stock bool KickValidClient(const char[] sName, const char[] sSteam32ID, AdminId /* Alive non-donator with IdleTime > 30 * Sort by idle time and don't kick donators and item owners. - */ + * if(!Donator && IsPlayerAlive(client) && !HasItem) { if(IdleTime > 30 && IdleTime > HighestValue[2]) @@ -198,7 +198,7 @@ stock bool KickValidClient(const char[] sName, const char[] sSteam32ID, AdminId HighestValueClient[2] = client; } } - /* Alive non-donator with IdleTime > 30 */ + * Alive non-donator with IdleTime > 30 */ } // Check if any condition was met in the correct order and perform kick