1300 {
1302 {
1303 return;
1304 }
1305
1307
1308 if (
g_Game.IsClient() &&
g_Game.GetGameState() != DayZGameState.IN_GAME )
1309 {
1310 return;
1311 }
1312
1313 PlayerBase player = PlayerBase.Cast(
g_Game.GetPlayer());
1315 {
1316 return;
1317 }
1318
1320
1321
1323 if (!menu || !menu.IsVisible())
1324 {
1325 return;
1326 }
1327
1330
1332 }
override void AddActiveInputExcludes(array< string > excludes)
Adds one or more exclude groups to disable and refreshes excludes.
override bool IsPlayerRespawning()
override void AddActiveInputRestriction(int restrictor)
Adds one input restriction (specific behaviour oudside regular excludes, defined below)
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.