Ambulance Dispatch
This system is not exclusive to esx, but we will give the example here since qbcore comes with its own integrated system and such modification is not necessary. But you can invent interesting things whether you use esx or qbcore.
Both examples were run using esx_ambulancejob, if you use another asset you will need to adapt it to make it perfect for your scenario.
Quasar Smartphone has a very comfortable system for sending messages to workers, which can be used through ambulance, as in this example, where we will create a dispatch that will be launched when a player dies and it will notify the ambulance in your city giving the location. .
Ambulance Dispatch through Business app
We can use the dispatch system through the business app using the following code. Remember that we will give all the examples using esx_ambulancejob, you can use another asset and adapt it your way, customizing it and leaving it ready for your server.
Ambulance Dispatch using Messages app
The option via Messages is not a bad option but we will prefer to use the superior Business option, in any case we will leave the snippet and its use below.
Last updated