addEventHandler("onPlayerDamage", getRootElement(), function (attacker, weapon, bodypart, loss) if bodypart == all local result = triggerEvent(source, attacker, weapon, loss) if result == true then killPed(source, attacker, weapon, bodypart) end end end)