Return modules folder
-- Was a git prefrences thing and needed cleaned up
This commit is contained in:
1 parent
48f5c70039
commit
8f6fa1e291
95 files changed
+4254
No files matched your search
@@ -0,0 +1,21 @@
|
||||
if GetResourceState('linden_outlawalert') ~= 'started' then return end
|
||||
|
||||
Dispatch = {}
|
||||
|
||||
Dispatch.SendAlert = function(data)
|
||||
local formattedData = {
|
||||
displayCode = data.code or '10-80',
|
||||
description = data.message,
|
||||
isImportant = data.priority or 0,
|
||||
recipientList = data.job,
|
||||
length = '10000',
|
||||
infoM = data.icon or 'fas fa-question',
|
||||
info = data.message
|
||||
}
|
||||
local dispatchData = {
|
||||
dispatchData = formattedData,
|
||||
caller = 'Anonymous',
|
||||
coords = GetEntityCoords(cache.ped)
|
||||
}
|
||||
TriggerServerEvent('wf-alerts:svNotify', dispatchData)
|
||||
end
|
||||
Reference in new issue
Block a user