Input update
Restructured inputs to match rest of bridge also removed qbobject from clothing
This commit is contained in:
1 parent
7610cadf04
commit
7ea4c9c38c
8 files changed
+372
-121
No files matched your search
@@ -0,0 +1,16 @@
|
||||
local resourceName = "ox_lib"
|
||||
local configValue = BridgeClientConfig.InputSystem
|
||||
if (configValue == "auto" and GetResourceState(resourceName) == "missing") or (configValue ~= "auto" and configValue ~= resourceName) then return end
|
||||
|
||||
Input = {}
|
||||
function Input.Open(title, data, isQBFormat, submitText)
|
||||
local inputs = data.inputs
|
||||
if isQBFormat then
|
||||
return lib.inputDialog(title, QBToOxInput(inputs))
|
||||
else
|
||||
return lib.inputDialog(title, data)
|
||||
end
|
||||
end
|
||||
|
||||
return Input
|
||||
|
||||
Reference in new issue
Block a user