Block map opening
Posted: Sun Jun 30, 2019 1:43 pm
Currently we are able to disable the mini map however there is no clear way to stop the main map from opening. Could we have open_map added to input actions so that we can disallow the action for a permission group?
Since we have access to LuaPlayer::open_map and LuaPlayer::close_map would it be possible to have an event for on_player_opened_map since the map is not considered a gui according to defines.gui_type and so cant be used with on_gui_opened.
Since we have access to LuaPlayer::open_map and LuaPlayer::close_map would it be possible to have an event for on_player_opened_map since the map is not considered a gui according to defines.gui_type and so cant be used with on_gui_opened.