Files
community_bridge/modules/input/ox_lib/client.lua
T
gononono64 7ea4c9c38c Input update
Restructured inputs to match rest of bridge

also removed qbobject from clothing
2025-05-31 18:55:17 -05:00

17 lines
493 B
Lua

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