794 {
795 #ifndef NO_GUI
797 {
798 #ifdef PLATFORM_PS4
799 OnlineServices.SetMultiplayState(false);
800 #endif
801
802 string message = "";
803 if (!
g_Game.GetMission().IsPlayerRespawning())
804 {
805 message = "#dayz_implement_dead";
806 }
807
808 #ifdef PLATFORM_CONSOLE
809 g_Game.GetUIManager().ScreenFadeIn(duration, message, FadeColors.DARK_RED, FadeColors.WHITE);
810 #else
811 g_Game.GetUIManager().ScreenFadeIn(duration, message, FadeColors.BLACK, FadeColors.WHITE);
812 #endif
813 }
814 else
815 {
816 g_Game.GetUIManager().ScreenFadeOut(duration);
817
818 if (duration > 0)
820 else
822 }
823 #endif
824 }
override void StopDeathDarkeningEffect()