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

+2 -3
View File
@@ -1,7 +1,6 @@
local resourceName = "qb-target"
local configValue = BridgeClientConfig.TargetSystem
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
if GetResourceState('ox_target') == 'started' then return end -- this is for older versions of ox that supported the backwards compatability. As its depricated we dont want to touch that.
if GetResourceState(resourceName) == 'missing' then return end
if GetResourceState("ox_target") == 'started' then return end
local targetDebug = false
local function detectDebugEnabled()