should resolve start order issues

This commit is contained in:
MrNewb committed 2025-05-18 23:45:37 -04:00
1 parent f0feadf268
commit 68e81b720a
86 files changed
+113 -146

No files matched your search

@@ -1,4 +1,4 @@
if GetResourceState('bub-mdt') ~= 'started' then return end
if GetResourceState('bub-mdt') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
@@ -0,0 +1,4 @@
if GetResourceState('bub-mdt') == 'missing' then return end
Dispatch = Dispatch or {}
return Dispatch
@@ -1,4 +0,0 @@
if GetResourceState('bub-mdt') ~= 'started' then return end
Dispatch = Dispatch or {}
return Dispatch
@@ -1,4 +1,4 @@
if GetResourceState('cd_dispatch') ~= 'started' then return end
if GetResourceState('cd_dispatch') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
@@ -1,4 +1,4 @@
if GetResourceState('cd_dispatch') ~= 'started' then return end
if GetResourceState('cd_dispatch') == 'missing' then return end
Dispatch = Dispatch or {}
return Dispatch
+1 -1
View File
@@ -1,4 +1,4 @@
if GetResourceState('lb-tablet') ~= 'started' then return end
if GetResourceState('lb-tablet') == 'missing' then return end
Dispatch = Dispatch or {}
local function getPriorityLevel(priority)
+1 -1
View File
@@ -1,4 +1,4 @@
if GetResourceState('lb-tablet') ~= 'started' then return end
if GetResourceState('lb-tablet') == 'missing' then return end
Dispatch = Dispatch or {}
RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data)
@@ -1,4 +1,4 @@
if GetResourceState('linden_outlawalert') ~= 'started' then return end
if GetResourceState('linden_outlawalert') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
@@ -1,4 +1,4 @@
if GetResourceState('linden_outlawalert') ~= 'started' then return end
if GetResourceState('linden_outlawalert') == 'missing' then return end
Dispatch = Dispatch or {}
return Dispatch
@@ -1,4 +1,4 @@
if GetResourceState('ps-dispatch') ~= 'started' then return end
if GetResourceState('ps-dispatch') == 'missing' then return end
if GetResourceState('lb-tablet') == 'started' then return end
Dispatch = Dispatch or {}
@@ -1,4 +1,4 @@
if GetResourceState('ps-dispatch') ~= 'started' then return end
if GetResourceState('ps-dispatch') == 'missing' then return end
if GetResourceState('lb-tablet') == 'started' then return end
Dispatch = Dispatch or {}
@@ -1,4 +1,4 @@
if GetResourceState('qs-dispatch') ~= 'started' then return end
if GetResourceState('qs-dispatch') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
@@ -1,4 +1,4 @@
if GetResourceState('qs-dispatch') ~= 'started' then return end
if GetResourceState('qs-dispatch') == 'missing' then return end
Dispatch = Dispatch or {}
return Dispatch
@@ -1,4 +1,4 @@
if GetResourceState('redutzu-mdt') ~= 'started' then return end
if GetResourceState('redutzu-mdt') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
@@ -1,4 +1,4 @@
if GetResourceState('redutzu-mdt') ~= 'started' then return end
if GetResourceState('redutzu-mdt') == 'missing' then return end
Dispatch = Dispatch or {}
RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data)
@@ -1,4 +1,4 @@
if GetResourceState('tk_dispatch') ~= 'started' then return end
if GetResourceState('tk_dispatch') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
@@ -1,4 +1,4 @@
if GetResourceState('tk_dispatch') ~= 'started' then return end
if GetResourceState('tk_dispatch') == 'missing' then return end
Dispatch = Dispatch or {}
return Dispatch