target to auto or manual
This commit is contained in:
1 parent
cd7f41b518
commit
b0f1704806
4 files changed
+8
-4
No files matched your search
@@ -1,7 +1,7 @@
|
||||
Target = Target or {}
|
||||
|
||||
local function warnUser()
|
||||
print("Currently Only Targeting Is Supported.")
|
||||
print("Currently Only Targeting Is Supported By Community Bridge, You Are Using A Resource That Requires The Target Module To Be Used.")
|
||||
end
|
||||
|
||||
Target.AddGlobalPlayer = function(options)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if GetResourceState('ox_target') ~= 'started' then return end
|
||||
if GetResourceState('ox_target') ~= 'started' or (BridgeClientConfig.TargetSystem ~= "ox" and BridgeClientConfig.TargetSystem ~= "auto") then return end
|
||||
|
||||
local targetDebug = false
|
||||
local function detectDebugEnabled()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
if GetResourceState('qb-target') ~= 'started' or GetResourceState('ox_target') == 'started' then return end
|
||||
if GetResourceState('qb-target') ~= 'started' or (BridgeClientConfig.TargetSystem ~= "qb" and BridgeClientConfig.TargetSystem ~= "auto") 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.
|
||||
|
||||
local targetDebug = false
|
||||
local function detectDebugEnabled()
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
if GetResourceState('sleepless_interact') ~= 'started' then return end
|
||||
if GetResourceState('sleepless_interact') ~= 'started' or (BridgeClientConfig.TargetSystem ~= "sleepless" and BridgeClientConfig.TargetSystem ~= "auto") then return end
|
||||
|
||||
--if GetResourceState('sleepless_interact') ~= 'started' then return end
|
||||
-- This is only partially supported
|
||||
|
||||
local sleepless = exports.sleepless_interact
|
||||
|
||||
|
||||
Reference in new issue
Block a user