forked from UNLOZE/sm-plugins
mapchooser_extended: new feature: map group restrictions
This commit is contained in:
@@ -112,9 +112,24 @@ native int GetMapMinTime(const char[] map);
|
||||
native int GetMapMaxTime(const char[] map);
|
||||
native int GetMapMinPlayers(const char[] map);
|
||||
native int GetMapMaxPlayers(const char[] map);
|
||||
|
||||
// 0 = Okay
|
||||
// >0 = Minutes till Okay
|
||||
native int GetMapTimeRestriction(const char[] map);
|
||||
|
||||
// <0 = Less than MinPlayers
|
||||
// 0 = Okay
|
||||
// >0 = More than MaxPlayers
|
||||
native int GetMapPlayerRestriction(const char[] map);
|
||||
|
||||
// <0 = No group
|
||||
// >=0 = Group _max
|
||||
native int GetMapGroup(const char[] map, char[] group, int size);
|
||||
|
||||
// <0 = No restriction
|
||||
// >=0 = Group _max -> Group full
|
||||
native int GetMapGroupRestriction(const char[] map, int client = 0);
|
||||
|
||||
public SharedPlugin __pl_mapchooser_extended =
|
||||
{
|
||||
name = "mapchooser",
|
||||
|
||||
Reference in New Issue
Block a user