[Release][ESX] [EMS/Ambulance Job]

When people die on my server they are stuck in a black screen and I get the console error

SCRIPT ERROR: @esx_ambulancejob/server/main.lua:71: attempt to index a nil value (local ‘xPlayer’)

TriggerServerCallback (@es_extended/server/functions.lua:33)
handler (@es_extended/server/common.lua:89)

looking for a line of code so I can take players out of ems vehicles when you are working under the ESX_Ambulancejob

I’m also looking for an early respawn timer for when there are no ems in the server

Could somebody Tell me how to Restet Hunger and thirst to100% after death?also pm

The EMS dont get a message from a death person when they press g

someone know how to add auto deduct money from the revived player?