599 {
600 if (player)
601 {
602 if (player.IsUnconscious() || player.IsRestrained())
603 {
604 PluginAdminLog adm = PluginAdminLog.Cast(
GetPlugin(PluginAdminLog));
605 adm.PlayerKilledByRespawn(player);
606
607
608 player.SetHealth("", "", 0.0);
609 }
610 }
611
612 #ifdef DIAG_DEVELOPER
613 if (FeatureTimeAccel.m_CurrentTimeAccel)
614 {
615 g_Game.RPCSingleParam(player,
ERPCs.DIAG_TIMEACCEL_CLIENT_SYNC, FeatureTimeAccel.m_CurrentTimeAccel,
true, identity);
616 }
617 #endif
618 }
PluginBase GetPlugin(typename plugin_type)