Return modules folder

-- Was a git prefrences thing and needed cleaned up
This commit is contained in:
MrNewb committed 2025-01-13 14:28:09 -05:00
1 parent 48f5c70039
commit 8f6fa1e291
95 files changed
+4254

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
if GetResourceState('cd_dispatch') ~= 'started' then return end
Dispatch = {}
Dispatch.SendAlert = function(data)
local playerData = exports['cd_dispatch']:GetPlayerInfo()
local randomID = Utility.CreateUniqueId(nil, 14, nil)
TriggerServerEvent('cd_dispatch:AddNotification', {
job_table = data.job,
coords = data.coords or playerData.coords,
title = data.code or '10-80',
message = data.message,
flash = 0,
unique_id = randomID,
sound = 1,
blip = { sprite = 431, scale = 1.2, colour = 3, flashes = false, text = data.message, time = 10000, radius = 0, }
})
end