Setup

ESX Setup

  • Goto your esx-ambulancejob script,

  • Open up client/main.lua

  • Find:

    AddEventHandler('esx_ambulancejob:revive', function()
  • Add this inside of it:

    TriggerEvent("aty_deathscreen:closeUi")

QBCore Setup

  • Goto your qb-ambulancejob script,

  • Open up client/main.lua

  • Find:

    RegisterNetEvent('hospital:client:Revive', function()
  • Add this inside of it:

    TriggerEvent("aty_deathscreen:closeUi")

Last updated