some other stuff

yum
This commit is contained in:
gononono64 committed 2025-01-18 05:31:33 -06:00
1 parent c325f71453
commit 1ebcb8f492
7 files changed
+132 -104

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
if GetResourceState('qb-menu') ~= 'started' and (BridgeClientConfig.MenuSystem ~= "qb" or BridgeClientConfig.MenuSystem ~= "auto") then return end
if GetResourceState('qb-menu') ~= 'started' or (BridgeClientConfig.MenuSystem ~= "qb" and BridgeClientConfig.MenuSystem ~= "auto") then return end
print("Loading QB Menu")
--- Converts an Ox menu to a QB menu.
---@param id string The menu ID.
---@param menu table The Ox menu data.
@@ -16,7 +17,7 @@ function OxToQBMenu(id, menu)
txt = v.description,
icon = v.icon,
}
if v.onSelect then
button.params = {
event = "community_bridge:client:MenuCallback",