Last updated 6 months ago
esx_ambulancejob/client/main.lua
function OnPlayerDeath()
at the beginning of the function add following:
if LocalPlayer.state.inDeathmatch == true then return end
Your function should look like this: