'ReservedSlot/scripting/ReservedSlot.sp' ändern
This commit is contained in:
parent
fa4967c4d3
commit
6491c3d2b6
@ -199,19 +199,6 @@ stock bool KickValidClient(const char[] sName, const char[] sSteam32ID, AdminId
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Alive non-donator with IdleTime > 30 */
|
/* Alive non-donator with IdleTime > 30 */
|
||||||
|
|
||||||
/* Non-donator with highest connection time
|
|
||||||
* Sort by connection time and don't kick donators and item owners.
|
|
||||||
*/
|
|
||||||
if(!Donator && !HasItem)
|
|
||||||
{
|
|
||||||
if(ConnectionTime > HighestValue[3])
|
|
||||||
{
|
|
||||||
HighestValue[3] = ConnectionTime;
|
|
||||||
HighestValueClient[3] = client;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/* Non-donator with highest connection time */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if any condition was met in the correct order and perform kick
|
// Check if any condition was met in the correct order and perform kick
|
||||||
|
Loading…
Reference in New Issue
Block a user