returns added everywhere per crowleys request

This commit is contained in:
MrNewb committed 2025-05-10 00:01:56 -04:00
1 parent 3e63414973
commit 7e0124f02e
150 files changed
+426 -130

No files matched your search

+3 -1
View File
@@ -26,4 +26,6 @@ RegisterNetEvent('community_bridge:Client:DispatchAlert', function(alert)
local blip = Bridge.Utility.CreateBlip(alert.coords, alert.sprite, alert.color, alert.scale, alert.code, true)
Wait(alert.time)
Bridge.Utility.RemoveBlip(blip)
end)
end)
return Dispatch
+3 -1
View File
@@ -8,4 +8,6 @@ RegisterNetEvent("community_bridge:Server:DispatchAlert", function(data)
TriggerClientEvent('community_bridge:Client:DispatchAlert', src, data)
end
end
end)
end)
return Dispatch
+3 -1
View File
@@ -12,4 +12,6 @@ Dispatch.SendAlert = function(data)
blipCoords = data.coords or cache.ped and GetEntityCoords(cache.ped) or { x = 0, y = 0},
}
exports["bub-mdt"]:CustomAlert(alertData)
end
end
return Dispatch
+3 -1
View File
@@ -1,2 +1,4 @@
if GetResourceState('bub-mdt') ~= 'started' then return end
Dispatch = Dispatch or {}
Dispatch = Dispatch or {}
return Dispatch
@@ -21,4 +21,6 @@ Dispatch.SendAlert = function(data)
radius = 0,
}
})
end
end
return Dispatch
@@ -1,2 +1,4 @@
if GetResourceState('cd_dispatch') ~= 'started' then return end
Dispatch = Dispatch or {}
return Dispatch
+3 -1
View File
@@ -37,4 +37,6 @@ Dispatch.SendAlert = function(data)
job = data.jobs,
}
TriggerServerEvent("community_bridge:server:dispatch:sendAlert", alertData)
end
end
return Dispatch
+3 -1
View File
@@ -3,4 +3,6 @@ Dispatch = Dispatch or {}
RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data)
exports["lb-tablet"]:AddDispatch(data) -- this has a return value but we dont really have a use for it atm.
end)
end)
return Dispatch
@@ -15,4 +15,6 @@ Dispatch.SendAlert = function(data)
caller = 'Anonymous',
coords = data.coords or GetEntityCoords(cache.ped)
})
end
end
return Dispatch
@@ -1,2 +1,4 @@
if GetResourceState('linden_outlawalert') ~= 'started' then return end
Dispatch = Dispatch or {}
Dispatch = Dispatch or {}
return Dispatch
@@ -27,4 +27,6 @@ Dispatch.SendAlert = function(data)
jobs = data.jobs
}
exports["ps-dispatch"]:CustomAlert(alertData)
end
end
return Dispatch
@@ -1,3 +1,5 @@
if GetResourceState('ps-dispatch') ~= 'started' then return end
if GetResourceState('lb-tablet') == 'started' then return end
Dispatch = Dispatch or {}
return Dispatch
@@ -35,4 +35,6 @@ Dispatch.SendAlert = function(data)
customData.image = image or customData.image
TriggerServerEvent('qs-dispatch:server:CreateDispatchCall', customData)
end)
end
end
return Dispatch
@@ -1,2 +1,4 @@
if GetResourceState('qs-dispatch') ~= 'started' then return end
Dispatch = Dispatch or {}
Dispatch = Dispatch or {}
return Dispatch
@@ -11,4 +11,6 @@ Dispatch.SendAlert = function(data)
coords = data.coords,
}
TriggerServerEvent("community_bridge:server:dispatch:sendAlert", alertData)
end
end
return Dispatch
@@ -9,4 +9,6 @@ RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data)
duration = data.time,
coords = data.coords
})
end)
end)
return Dispatch
@@ -17,4 +17,6 @@ Dispatch.SendAlert = function(data)
},
jobs = data.jobs or {'police'},
})
end
end
return Dispatch
@@ -1,2 +1,4 @@
if GetResourceState('tk_dispatch') ~= 'started' then return end
Dispatch = Dispatch or {}
Dispatch = Dispatch or {}
return Dispatch