AMXX-BG.INFO map_manager.inc Functions

map_manager functions

All callable symbols documented in this include, grouped by declaration type.

Natives

Name Signature
is_vote_finished native bool:is_vote_finished()
is_vote_started native bool:is_vote_started()
mapm_add_map_to_list native mapm_add_map_to_list(name[], minplayers = 0, maxplayers = 32, priority = 0)
mapm_add_vote_to_item native mapm_add_vote_to_item(item, value)
mapm_block_load_maplist native mapm_block_load_maplist()
mapm_block_show_vote native mapm_block_show_vote()
mapm_get_count_maps_in_vote native mapm_get_count_maps_in_vote()
mapm_get_map_index native mapm_get_map_index(map[])
mapm_get_prefix native mapm_get_prefix(prefix[], len)
mapm_get_vote_type native mapm_get_vote_type()
mapm_get_voteitem_info native mapm_get_voteitem_info(item, map[], len)
mapm_get_votelist_size native mapm_get_votelist_size()
mapm_load_maplist native mapm_load_maplist(filename[], bool:clearlist = true, bool:silent = false)
mapm_load_maplist_to_array native mapm_load_maplist_to_array(Array:array, filename[])
mapm_push_map_to_votelist native mapm_push_map_to_votelist(map[], type = PUSH_BY_NATIVE, ignore_check = CHECK_NOT_IGNORED)
mapm_set_vote_finished native mapm_set_vote_finished(bool:value)
mapm_set_votelist_max_items native mapm_set_votelist_max_items(value)
mapm_start_vote native mapm_start_vote(type)
mapm_stop_vote native mapm_stop_vote()

Forwards

Name Signature
mapm_analysis_of_results forward mapm_analysis_of_results(type, total_votes)
mapm_can_be_extended forward mapm_can_be_extended(type)
mapm_can_be_in_votelist forward mapm_can_be_in_votelist(const map[], type, index)
mapm_countdown forward mapm_countdown(type, time)
mapm_maplist_loaded forward mapm_maplist_loaded(Array:maplist, const nextmap[])
mapm_maplist_unloaded forward mapm_maplist_unloaded()
mapm_prepare_votelist forward mapm_prepare_votelist(type)
mapm_vote_canceled forward mapm_vote_canceled(type)
mapm_vote_finished forward mapm_vote_finished(const map[], type, total_votes)
mapm_vote_started forward mapm_vote_started(type)