made some changes to input and target

targets now accept event

fixed a check for .action passed to ox fix options

input will now return in qbs format if qb is used (passed as true).. this makes converting qb resources infinitely simpler
This commit is contained in:
Mr.Crowley committed 2025-07-29 05:22:55 -05:00
1 parent 6047c6d88c
commit a1e65a7dff
5 files changed
+33 -8

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ local function QBToOxMenu(id, menu)
description = v.txt,
icon = v.icon,
args = v.params.args,
onSelect = function(selected, secondary, args)
onSelect = v.action or function(selected, secondary, args)
local params = menu[id]?.options?[selected]?.params
if not params then return end
local event = params.event