configValue
This commit is contained in:
1 parent
93a8e20a77
commit
c15b4dd292
2 files changed
+6
-3
No files matched your search
@@ -1,4 +1,6 @@
|
|||||||
if GetResourceState('ox_lib') ~= 'started' or (BridgeClientConfig.InputSystem ~= "ox" and BridgeClientConfig.InputSystem ~= "auto") then return end
|
local resourceName = "ox_lib"
|
||||||
|
local configValue = BridgeClientConfig.InputSystem
|
||||||
|
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
|
||||||
|
|
||||||
function QBTypeToOxType(_type)
|
function QBTypeToOxType(_type)
|
||||||
if _type == "text" then
|
if _type == "text" then
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
local resourceName = "qb-input"
|
||||||
if GetResourceState('qb-input') ~= 'started' or (BridgeClientConfig.InputSystem ~= "qb" and BridgeClientConfig.InputSystem ~= "auto") then return end
|
local configValue = BridgeClientConfig.InputSystem
|
||||||
|
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
|
||||||
|
|
||||||
function OxTypeToQBType(_type)
|
function OxTypeToQBType(_type)
|
||||||
if _type == "input" then
|
if _type == "input" then
|
||||||
|
|||||||
Reference in new issue
Block a user