776 {
779
781 {
782 if (weapon.CanFire())
783 {
786 weapon.ProcessWeaponEvent(weapon_event);
789 {
791 if (helm &&
g_Game.IsServer())
792 {
793 float damage = helm.GetMaxHealth("","");
794 helm.AddHealth("","", -damage/2);
795 }
798 {
800 }
801 }
802 }
803 else
804 {
805 if (!weapon.IsDamageDestroyed())
806 {
807 weapon.ProcessWeaponEvent(weapon_event);
808 }
810 }
811 }
812 else if (
m_Player.GetItemInHands() &&
m_Player.GetItemInHands().ConfigIsExisting(
"suicideAnim"))
813 {
819 }
820 else
821 {
823 }
824 }
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