When a robbery starts, police can be notified through framework notifications, temporary map blips, and third-party dispatch scripts.
Alert method
Config.PoliceAlert.method = 'all' -- notification | blip | dispatch | both | all
Config.PoliceAlert.messageFormat = 'Robbery in progress at {label} - {playerName}'
Config.PoliceAlert.includePlayerName = trueDispatch providers
Config.PoliceAlert.dispatch = {
enabled = true,
provider = 'auto', -- auto | aty | cd_dispatch | qs_dispatch | ps_dispatch | rcore_dispatch
requireResource = true,
autoOrder = { 'aty', 'cd_dispatch', 'qs_dispatch', 'ps_dispatch', 'rcore_dispatch' },
}With provider = 'auto', the first started resource in autoOrder is used. Customize behavior in server/sv_dispatch_custom.lua and client/cl_dispatch_custom.lua.
Police blips
Config.PoliceAlert.showBlip = true
Config.PoliceAlert.blip = {
sprite = 161,
color = 1,
scale = 1.0,
duration = 300,
}Need help?
Join Discord with your framework, dispatch resource, and server console errors if alerts do not fire.