206 {
207 IngameHud.Cast(
GetGame().GetMission().GetHud()).InitBadgesAndNotifiers();
209 if (player && (player.GetPlayerState() ==
EPlayerStates.ALIVE && !player.IsUnconscious()))
210 return false;
211
212 #ifdef PLATFORM_CONSOLE
214 #else
215 InGameMenu menu_ingame = InGameMenu.Cast(
GetGame().GetUIManager().FindMenu(
MENU_INGAME));
216 #endif
217
218 if (!menu_ingame)
219 return false;
220
221 menu_ingame.MenuRequestRespawn(this, random);
222 return true;
223 }
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()