553 {
554 if (player)
555 {
556 if (player.IsUnconscious() || player.IsRestrained())
557 {
558 PluginAdminLog adm = PluginAdminLog.Cast(
GetPlugin(PluginAdminLog));
559 adm.PlayerKilledByRespawn(player);
560
561
562 player.SetHealth("", "", 0.0);
563 }
564 }
565
566 #ifdef DIAG_DEVELOPER
567 if (FeatureTimeAccel.m_CurrentTimeAccel)
568 {
570 }
571 #endif
572 }
PluginBase GetPlugin(typename plugin_type)
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
proto native CGame GetGame()