target to new format

This commit is contained in:
MrNewb committed 2025-03-04 22:28:34 -05:00
1 parent aede7a3d2a
commit 064d3b7ccd
4 files changed
+11 -4

No files matched your search

+4 -1
View File
@@ -1,4 +1,7 @@
if GetResourceState('ox_target') ~= 'started' or (BridgeClientConfig.TargetSystem ~= "ox" and BridgeClientConfig.TargetSystem ~= "auto") then return end
local resourceName = "ox_target"
local configValue = BridgeClientConfig.TargetSystem
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
local targetDebug = false
local function detectDebugEnabled()