Simple Dispatch made using ox_lib
ensure ox_lib
ensure qbx_core
ensure melons_dispatch
- Download the code
- Extract the .zip file and rename the folder
melons_dispatch
- To setup the alerts, open
server.lua
in config folder - To trigger the alerts simply use the export with the type of alert you have setted in config
- Export
exports.melons_dispatch:DispatchAlert(data, type)
- Example
exports.melons_dispatch:DispatchAlert({coords = vec3(0,0,0), jobs = "police"}, "storerobbery")