⤵️Installation
# STEP 1 - Check dependencies
Make sure you have installed all dependencies .
# STEP 2 - Drag And Drop
Download your resource from FiveM’s Keymaster.
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.
# 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:
qb-core/config.lua
# STEP 5 - Setup Items and Images
1- Setup Item according to your inventory (if not exist)
Add Item in qb-core/shared/items.lua
2- Setup item Image according to your inventory
# STEP 6 - Configure API Keys in sh_api
For more information, a special page has been created to explain each part of it
API# STEP 7 - Dispatch Blips (Optional)
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
Last updated