whitespace

This commit is contained in:
MrNewb committed 2025-02-05 22:51:59 -05:00
1 parent 2fa129dddd
commit 6bcfc370d0
3 files changed
+1 -14

No files matched your search

-4
View File
@@ -1,7 +1,5 @@
if GetResourceState('ox_lib') ~= 'started' or (BridgeClientConfig.InputSystem ~= "ox" and BridgeClientConfig.InputSystem ~= "auto") then return end
function QBTypeToOxType(_type)
if _type == "text" then
return "input"
@@ -18,7 +16,6 @@ function QBTypeToOxType(_type)
end
end
function QBToOxInput(data)
local returnData = {}
for i, v in pairs(data) do
@@ -44,7 +41,6 @@ function QBToOxInput(data)
return returnData
end
function OpenInput(title, data, isQBFormat, submitText)
local inputs = data.inputs
if isQBFormat then
+1 -3
View File
@@ -1,8 +1,6 @@
if GetResourceState('qb-input') ~= 'started' or (BridgeClientConfig.InputSystem ~= "qb" and BridgeClientConfig.InputSystem ~= "auto") then return end
-- ox to Qb
function OxTypeToQBType(_type)
if _type == "input" then
return "text"
@@ -65,5 +63,5 @@ function OpenInput(title, data, isQBFormat, submitText)
header = title,
submitText = submitText or "Submit",
inputs = input
})
})
end
-7
View File
@@ -78,14 +78,7 @@ if GetResourceState('ox_lib') ~= 'started' and GetResourceState('qb-menu') ~= 's
-- "input", "number", "checkbox", "select", "multi-select", "slider", "color", "date", "date-range", "time", "textarea",
Input = {}
-- qb to ox
--Open menu
function Input.Open(title, data, isQBFormat, submitText)