612 {
613 if (player)
614 {
615 if (player.IsUnconscious() || player.IsRestrained())
616 {
617 PluginAdminLog adm = PluginAdminLog.Cast(
GetPlugin(PluginAdminLog));
618 adm.PlayerKilledByRespawn(player);
619
620
621 player.SetHealth("", "", 0.0);
622 }
623 }
624
625 #ifdef DIAG_DEVELOPER
626 if (FeatureTimeAccel.m_CurrentTimeAccel)
627 {
628 g_Game.RPCSingleParam(player,
ERPCs.DIAG_TIMEACCEL_CLIENT_SYNC, FeatureTimeAccel.m_CurrentTimeAccel,
true, identity);
629 }
630 #endif
631 }
PluginBase GetPlugin(typename plugin_type)