Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Police Scripts

CD Dispatch FiveM resource preview

CD Dispatch

CodesignBought 12 times
Frameworks:
  • ESX
  • QBCore

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX, QBCore
Dependencies
oxmysql, mysql-async or ghmattimysql
File size
5.3 MB
Creator
Codesign
Updated
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Codesign Dispatch

CD Dispatch (cd_dispatch) is a police dispatch for FiveM ESX and QBCore servers. Alerts from your scripts appear in a small, movable UI and in a large map UI, with blips, keybinds and exports. Jobs are grouped, so for example police and sheriff see each other.

Features

  • Small UI (movable): total calls, responding units, notification title and message, distance to the call, quick respond with waypoint.
  • Large UI with day and night map.
  • Optional modules: radio channels, duty system, blips, callsigns, dispatcher, job call commands and police alerts.
  • Panic button and replies to callers.
  • Add or replace alerts in your own scripts with the provided code snippet (client to server recommended).
  • Job groups set in Config.AllowedJobs (police, ambulance and mechanic by default).
  • Choice of database script (oxmysql, mysql or ghmattimysql) and notification system; custom locales.

Default keys (editable)

U = toggle small UI · L = open large UI · G = respond · ←/→ = cycle · ↑ = ping · ↓ = panic

Commands and exports

Core commands: /dispatchsmall, /dispatchlarge, /respond, /movemode, /panic, /reply, /dispatchtest, /dispatchping

Exports (examples): GetPlayerInfo() · GetPlayerNotifications() · GetPlayersDispatchData() · GetConfig()

Requirements

  • ESX or official QBCore (no vRP)
  • oxmysql, mysql-async or ghmattimysql
  • FiveM server build 4752 or newer

Installation

  • Copy the cd_dispatch folder into your resources; the folder must stay named cd_dispatch.
  • Set framework, database and notifications in configs/config.lua. The manifest loads @es_extended/imports.lua and oxmysql by default; adjust these lines for QBCore or another database script.
  • Insert the SQL automatically (Config.AutoInsertSQL) or run READ_ME_AFTER_PURCHASING/SQL_main.sql.
  • Add ensure cd_dispatch to your server.cfg below your framework.
  • Set Config.EnableTestCommand = false for live use.

Common pitfalls

  • SQL default/unknown column errors: use the provided SQL or adjust the column types.
  • NUI "drawImage" error: use supported blip colours.
  • ox_lib nil: uncomment it in fxmanifest.lua when auto-detect picks it.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: 1 resource.

In your downloads
  • Origen Police
    • ESX
    • QBCore
    Not for your framework

    Origen Police (QBCore & ESX)

    Origen Network

    $23.00$16.10
  • Megaphone Mod (Vehicle & Handheld) FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Megaphone Mod (Vehicle & Handheld)

    ScriptsM

    $19.00$13.30
  • Advanced Police Job FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Advanced Police Job

    Wasabi Scripts

    $29.99$20.99
  • Prison
    • ESX
    • Standalone, QBCore, Qbox

    Prison all-in-one system

    rcore

    $32.00$22.40
  • Helicopter Camera FiveM resource preview
    • ESX
    • QBCore, Standalone

    Helicopter Camera

    Mads

    $12.00$8.40
  • 0R IDCard FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    0R IDCard

    0Resmon

    $20.00$14.00
  • Advanced Evidence System FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Advanced Evidence System

    Wasabi Scripts

    $20.00$14.00
  • FiveM Weapon Lanyard
    • ESX
    • Standalone, QBCore

    Weapon Lanyard (London Studios)

    $7.00$4.90