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

@@ -0,0 +1,16 @@
if GetResourceState('rcore_dispatch') ~= 'started' then return end
Dispatch = {}
Dispatch.SendAlert = function(data)
local playerData = exports['rcore_dispatch']:GetPlayerData()
TriggerEvent('rcore_dispatch:server:sendAlert', {
code = data.code or '10-80',
default_priority = 'low',
coords = data.coords or playerData.coords,
job = data.job,
text = data.message or 'No message provided',
type = 'alerts',
blip = { sprite = 54, colour = 3, scale = 0.7, text = data.message or "No Message", flashes = false, radius = 0 }
})
end