ESX_AMBULANCEJOB

Add to the first line of function OnPlayerDeath in main.lua the next line:

if LocalPlayer.state.inRound then return end

Like this:

function OnPlayerDeath()

  if LocalPlayer.state.inRound then return end
  
  ESX.CloseContext()
  ClearTimecycleModifier()

Last updated