menu overrides

This commit is contained in:
MrNewb committed 2025-03-04 22:15:29 -05:00
1 parent 7702faa269
commit 799c774f1f
3 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
if GetResourceState('ox_lib') ~= 'started' or (BridgeClientConfig.MenuSystem ~= "ox" and BridgeClientConfig.MenuSystem ~= "auto") then return end
local resourceName = "ox_lib"
local configValue = BridgeClientConfig.MenuSystem
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
Menus = Menus or {}
--- Converts a QB menu to an Ox menu.
---@param id string The menu ID.