A dispatch system for FiveM using qbx-core.
Credits to @Zach488 for the images & a few bits of code
- <> Code -> Download ZIP
Either
- Unzip qbx-dispatch into your resources folder (wherever you want)
- Add 'ensure qbx_dispatch' to the server.cfg
Or
- Unzip qbx_dispatch into your [qbx] folder (will start automatically)
Then
- Modify the config to your liking.
- Restart the server.
- qbx_core
- ox_lib
- ox_inventory (Used in gun related alerts to get the name of the weapon)
- interact-sound (Comes with qbx-core and has sounds included)
To trigger an alert you would use an export (client/exports.lua) like this:
exports.qbx_dispatch:DriveBy()
You can add your own exports or use the CustomCall export to trigger customized alerts.