Installation Guide
Follow these steps to install and configure cd_dispatch3d correctly.
2
4
5
6
6. Add New Dispatch Alerts
local data = exports['cd_dispatch3d']:GetPlayerInfo()
TriggerServerEvent('cd_dispatch:AddNotification', {
job_table = { 'police', 'sheriff' },
coords = data.coords,
title = '10-15 - Store Robbery',
message = 'A ' ..data.sex.. ' robbing a store at ' ..data.street,
flash = false,
sound = 1,
blip = {
sprite = 431,
scale = 1.2,
colour = 3,
flashes = false,
text = '911 - Store Robbery',
time = 5,
radius = 0,
}
})TriggerEvent('cd_dispatch:AddNotification', {
job_table = { 'police', 'sheriff' },
coords = vector3(0, 0, 0),
title = '10-15 - Store Robbery',
message = 'A person robbing a store',
flash = 0,
sound = 1,
blip = {
sprite = 431,
scale = 1.2,
colour = 3,
flashes = false,
text = '911 - Store Robbery',
time = 5,
radius = 0,
}
})Player Info Export Reference
local data = exports['cd_dispatch3d']:GetPlayerInfo()
data.ped -- Player ped ID (e.g., 123456789)
data.coords -- Player coordinates (vector3)
data.street_1 -- Street name (e.g., "Palomino Ave")
data.street_2 -- Area name (e.g., "Legion Square")
data.street -- Full location (e.g., "Palomino Ave, Legion Square")
data.sex -- Ped sex (e.g., "Male")Dispatch Alert Variable Reference
Variable Name
Required
Example
Description
Last updated
Was this helpful?







