map_manager
Browse all symbols documented inside this include file.
Constants
| Name | Description |
|---|---|
| _map_manager_core_included | — |
Functions
| Name | Description |
|---|---|
| mapm_load_maplist | Load maps from file. File loads from configs dir. |
| mapm_load_maplist_to_array | Load maps from file. File loads from configs dir. |
| mapm_block_load_maplist | Block default load maplist. Use before call plugin_cfg(). |
| mapm_add_map_to_list | Add map to maplist |
| mapm_get_map_index | Get map index in mapslist array. |
| mapm_get_prefix | Get prefix from core. |
| mapm_set_vote_finished | Set value for vote finished variable. |
| mapm_start_vote | Start vote. |
| mapm_stop_vote | Stop vote. |
| mapm_block_show_vote | Blocks show vote menu from core. |
| mapm_get_votelist_size | Get votelist size const from core. |
| mapm_set_votelist_max_items | Set max items in vote. |
| mapm_push_map_to_votelist | Push map in votelist. |
| mapm_get_count_maps_in_vote | Get amount maps in votelist. |
| mapm_get_voteitem_info | Get info about votelist item. |
| mapm_get_vote_type | Returns vote type. |
| mapm_add_vote_to_item | Adds votes to vote item. |
| is_vote_started | Returns if vote started. |
| is_vote_finished | Returns if vote finished. |
Forwards
| Name | Description |
|---|---|
| mapm_maplist_loaded | Called after load map list. |
| mapm_maplist_unloaded | Called after clear maplist. |
| mapm_countdown | Called every second before vote or in vote. |
| mapm_prepare_votelist | Called before vote. |
| mapm_can_be_in_votelist | Called when core or addons are trying add map in votelist. |
| mapm_can_be_extended | Called for permission to extend current map. |
| mapm_vote_started | Called when core start show menu with vote. |
| mapm_vote_canceled | Called when core canceled vote. |
| mapm_analysis_of_results | Called before vote finish. |
| mapm_vote_finished | Called when vote finished. |