743 {
746
748 {
749 if (weapon.CanFire())
750 {
753 weapon.ProcessWeaponEvent(weapon_event);
756 {
758 if (helm &&
g_Game.IsServer())
759 {
760 float damage = helm.GetMaxHealth("","");
761 helm.AddHealth("","", -damage/2);
762 }
765 {
767 }
768 }
769 }
770 else
771 {
772 if (!weapon.IsDamageDestroyed())
773 {
774 weapon.ProcessWeaponEvent(weapon_event);
775 }
777 }
778 }
779 else if (
m_Player.GetItemInHands() &&
m_Player.GetItemInHands().ConfigIsExisting(
"suicideAnim"))
780 {
786 }
787 else
788 {
790 }
791 }
PluginAdminLog m_AdminLog
signalize mechanism manipulation
DayZPlayerConstants
defined in C++
const int EMOTE_SUICIDE_SIMULATION_END
const int EMOTE_SUICIDE_BLEED
const int EMOTE_SUICIDE_DEATH