This commit is contained in:
BotoX
2019-09-18 12:36:08 +02:00
parent 3807248278
commit add15450df
4 changed files with 238 additions and 66 deletions
@@ -106,8 +106,11 @@ native CanNominateResult CanNominate();
* @return true on success
*/
native bool ExcludeMap(const char[] map, int cooldown = 0, int mode = 0);
// Cooldown in minutes
native bool ExcludeMapTime(const char[] map, int cooldown = 0, int mode = 0);
native int GetMapCooldown(const char[] map);
native int GetMapCooldownTime(const char[] map); // in unix time
native int GetMapMinTime(const char[] map);
native int GetMapMaxTime(const char[] map);
native int GetMapMinPlayers(const char[] map);
@@ -141,7 +144,7 @@ native bool GetMapVIPRestriction(const char[] map, int client = 0);
*/
native int GetExtendsLeft();
native int AreRestrictionsActive();
native bool AreRestrictionsActive();
public SharedPlugin __pl_mapchooser_extended =
{