Ambulance alerts
This system is not exclusive to ESX, but we provide an example using it since QBcore includes its own integrated system, making this modification unnecessary.
The example uses esx_ambulancejob; if you use another asset, you’ll need to adapt it. Quasar Smartphone includes a convenient messaging system for workers, like in this example where a dispatch is triggered when a player dies, notifying the ambulance with their location.
1
Ambulance Dispatch using Messages app
This snippet will be for esx_ambulancejob but you can integrate it wherever you want since it is standalone, in this example we will edit esx_ambulancejob/client/main.lua and replace the following function.
Last updated