added native to leader to get if a client if one of the possible leaders. added to mapchooser that random picked maps respect cooldowns as well. changed so leaders and admins skip all cooldowns and restrictions

This commit is contained in:
2024-07-26 18:33:39 +02:00
parent 8b94b0fc45
commit 0115f8bfc2
4 changed files with 68 additions and 117 deletions
+6
View File
@@ -15,3 +15,9 @@ native Leader_CurrentLeader();
* @param client Client index to be set as leader
*/
native Leader_SetLeader(client);
/**
* checks if client is possible leader
*
* @param client Client index to check if leader
*/
native Leader_Is(client);