Dispatch

Automatic dispatch integrations and notification bridges for vehicle tampering and theft events.

Supported Dispatch Systems

The dispatch bridge detects and integrates with installed dispatch resources automatically:

Dispatch Resource Resource Name Auto-Detected
Quasar Dispatch qs-dispatch Yes
Project Sloth Dispatch ps-dispatch Yes
Codesign Dispatch cd_dispatch / cd_dispatch3d Yes
Core Dispatch core_dispatch Yes
RCore Dispatch rcore_dispatch Yes
OP Dispatch op-dispatch Yes
ATY Dispatch aty_dispatch Yes
Origen Police / Dispatch origen_police / origen_dispatch Yes
TGiann MDW & Dispatch tgiann-mdw / tgiann-dispatch Yes
TK Dispatch tk_dispatch Yes
Waypoint / Project Error wf-alerts Yes
LB Phone lb-phone Yes
Native Built-in Alert ak47_vehiclekeys Fallback

Customizing Dispatch Calls

Dispatch triggers can be customized in custom/client/dispatch.lua.

The primary dispatch functions in dispatch.lua include:

  • HotwireDispatch(vehicle): Sends police alert when hotwiring begins.
  • LockpickDispatch(vehicle): Sends police alert when lockpicking begins.

Configuration Options

Configure dispatch alert probabilities and notifications in config.lua:

Config.HotwireAlert = {
    enable = true,       -- Enable or disable hotwire police alerts
    chance = 70,         -- Percentage chance police are alerted
    playernotify = true, -- Notify player if theft was reported
}

Config.LockPickAlert = {
    enable = true,       -- Enable or disable lockpick police alerts
    chance = 70,         -- Percentage chance police are alerted
    playernotify = true, -- Notify player if tampering was reported
}