803 {
804 #ifndef NO_GUI
806 {
807 #ifdef PLATFORM_PS4
808 OnlineServices.SetMultiplayState(false);
809 #endif
810
811 string message = "";
812 if (!
g_Game.GetMission().IsPlayerRespawning())
813 {
814 message = "#dayz_implement_dead";
815 }
816
817 #ifdef PLATFORM_CONSOLE
818 g_Game.GetUIManager().ScreenFadeIn(duration, message, FadeColors.DARK_RED, FadeColors.WHITE);
819 #else
820 g_Game.GetUIManager().ScreenFadeIn(duration, message, FadeColors.BLACK, FadeColors.WHITE);
821 #endif
822 }
823 else
824 {
825 g_Game.GetUIManager().ScreenFadeOut(duration);
826
827 if (duration > 0)
829 else
831 }
832 #endif
833 }
override void StopDeathDarkeningEffect()