QBCore Alerts
1
Find the default dispatch alert
Click any link below and locate the highlighted line — that’s the resource’s default dispatch alert.

2
Replace the Default Dispatch Alert
Find the same line in your server’s resource and replace it with the new code snippet provided below.
local data = exports['cd_dispatch3d']:GetPlayerInfo()
TriggerServerEvent('cd_dispatch:AddNotification', {
job_table = {'police', },
coords = data.coords,
title = '10-15 - Store Robbery',
message = 'A '..data.sex..' robbing a store at '..data.street,
flash = 0,
sound = 1,
blip = {
sprite = 431,
scale = 1.2,
colour = 3,
flashes = false,
text = '911 - Store Robbery',
time = 5,
radius = 0,
}
})
Last updated
Was this helpful?

