198 {
199 IngameHud.Cast(
GetGame().GetMission().GetHud()).InitBadgesAndNotifiers();
201 if (player && (player.GetPlayerState() ==
EPlayerStates.ALIVE && !player.IsUnconscious()))
202 return false;
203
204 #ifdef PLATFORM_CONSOLE
206 #else
207 InGameMenu menu_ingame = InGameMenu.Cast(
GetGame().GetUIManager().FindMenu(
MENU_INGAME));
208 #endif
209
210 if (!menu_ingame)
211 return false;
212
213 menu_ingame.MenuRequestRespawn(this, random);
214 return true;
215 }
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()