Input update

Restructured inputs to match rest of bridge

also removed qbobject from clothing
This commit is contained in:
gononono64 committed 2025-05-31 18:55:17 -05:00
1 parent 7610cadf04
commit 7ea4c9c38c
8 files changed
+372 -121

No files matched your search

+16
View File
@@ -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