RoadPhone Dispatch Integration
Configure FiveM Deathscreen to use RoadPhone dispatch alerts.
Update Deathscreen Dispatch Handler
Replace the dispatch integration in the correct file for your ambulance job in sky_deathscreen/config/framework/:
sky_deathscreen/config/framework/esx.lua
if GetResourceState("esx_ambulancejob") == "started" then
function Functions.sendDispatch()
exports['roadphone']:sendDispatch("Person braucht Hilfe!", "ambulance", nil)
end
function Functions.respawn()
exports.esx_ambulancejob:RemoveItemsAfterRPDeath()
end
function Functions.revive()
TriggerEvent("esx_ambulancejob:revive")
end
end
Support
Need help? Our support team is always ready to assist
Join Discord