Unzip the l2s-dispatch.zip & l2s-dispatch_blips.zip (Optional) folder and place this folder in your server's resource folder.
Add the resource to your server configuration file (server.cfg): ensure l2s-dispatch & ensure l2s-dispatch_blips. If you're using a framework, make sure to place it below the framework resource (e.g., qb-core) and not above it.
ensure qb-core // for qb-core only
ensure es_extended // for ESX only
ensure l2s-dispatch
ensure l2s-dispatch_blips // Optional (Working only with l2s-dispatch)
# STEP 3 - SQL Database
Insert the SQL file to your database (Database.sql).
ESX SQL is different from QBCore SQL
# STEP 4 - SetUp Metadata (QBCore Only)
If you have the last version of qb-core and (your metadata in config.lua) copy paste the code in this path:
Only if you use l2s-dispatch_blips (Coming free with script), you'll need to disable it to enable the built-in player blips feature; otherwise, they may interfere with each other.
Comment this code in qb-policejob/server/main.lua line ~249
CreateThread(function()
while true do
Wait(5000)
UpdateBlips()
end
end)
Disable this option in config esx_policejob/config.lua