How to fix issue with respawn and menus in esx_ambulancejob

Sometimes you can get issues with the respawn
For example:
When you respawn and then you are trying to open a menu (for example job menu) and it doesn’t work

How to Fix?

  1. Go to esx_ambulancejob/client/man.lua
  2. Add the next code:

AddEventHandler('esx:onPlayerDeath', function(data)
    IsDead = true
end)

AddEventHandler('playerSpawned', function(spawn)
    IsDead = false
end)

If you have another issues feel free to write them here.