117 {
119 return;
120
121 ItemMap chernomap = ItemMap.Cast(
m_ActionData.m_Player.GetItemInHands());
122 if (chernomap)
123 {
125 {
127 return;
128
130
131 if (!
g_Game.IsDedicatedServer())
132 {
134 UIManager m_UIManager;
135 UIScriptedMenu mapMenu;
136 m_UIManager =
g_Game.GetUIManager();
138 if (!CfgGameplayHandler.GetUse3DMap())
139 {
144 }
145 else
146 {
148 }
149
151 }
152 }
154 {
155 chernomap.SetMapStateOpen(
false,
m_ActionData.m_Player);
158 }
159 }
160 }
void AddActiveInputRestriction(int restrictor)
void AddActiveInputExcludes(array< string > excludes)
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.
bool CloseAll()
Close all opened menus.