ESX Ambulancejob
This guide walks you through the installation and configuration process for our Deathscreen script. Before proceeding, ensure you've followed the general script setup steps outlined in the general installation guide.
General Installation Guide
Add Export
Add this line at the bottom of client/main.lua
in esx_ambulancejob
:
esx_ambulancejob/client/main.lua
exports("RemoveItemsAfterRPDeath", RemoveItemsAfterRPDeath)
Disable Native Death Screen
Search for the OnPlayerDeath
function call and comment it out in the same file:
esx_ambulancejob/client/main.lua
AddEventHandler('esx:onPlayerDeath', function(data)
-- OnPlayerDeath()
end)
Support
Need help? Our support team is always ready to assist
Join Discord