Installation
Dispatch Settings
Config.PoliceAlert = function(coords, drugType)
if Config.Police.NotificationSystem == 'ps-dispatch' then
exports["ps-dispatch"]:DrugSale({
coords = coords,
drugType = drugType
})
elseif Config.Police.NotificationSystem == 'cd_dispatch' then
local data = {
title = "Suspicious Drug Dealing",
coords = coords,
description = "Citizen Tip: Suspicious drug dealing"
}
TriggerServerEvent('cd_dispatch:AddNotification', data)
end
endLast updated