op-dispatch
ESX & QBCore FiveM dispatch system, for ambulance and police jobs, possibility to add more in
config.lua
Download & Installation
Config
- Make sure to change your language in Config.Locale and Config.Framework.
- At the bottom of the config.lua file you will see
Config.Jobs and Config.AllowedJobs, you can add whatever job you’re interested to be able to use the dispatch.
Config = {}
Config.Sound = true -- True to listen to the sound and false to don't.
Config.Framework = 'QBCore' -- 'ESX' or 'QBCore'.
Config.Locale = 'en' -- 'en' or 'es'.
Config.CommandShow = {
command = 'show',
description = 'Open Dispatch',
}
Config.VehicleRob = {
command = 'vehrob',
description = 'Vehicle theft',
}
Config.CommandPanic = {
command = 'p',
description = 'Emergency button'
}
Config.CommandClear = {
command = 'cls',
description = 'Clear Alerts'
}
Config.Jobs = {
'police',
'ambulance'
}
Config.AllowedJobs = {
["police"] = {
name = 'police',
label = 'LSPD',
command = 'alert',
descriptcommand = 'Send an alert to LSPD',
panic = true,
},
["ambulance"] = {
name = 'ambulance',
label = 'EMS',
command = 'alertems',
descriptcommand = 'Send an alert to EMS',
panic = true,
},
}
Manually
- Download https://github.com/ErrorMauw/op-dispatch/archive/refs/heads/main.zip
- Put it in the
resources
directory
Using Git
cd resources
git clone GitHub - ErrorMauw/op-dispatch: Op-Dispatch a dispatch that seeks the best user experience resources/op-dispatch