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('qb-menu') ~= 'started' or (BridgeClientConfig.MenuSystem ~= "qb" and BridgeClientConfig.MenuSystem ~= "auto") then return end
local resourceName = "qb-menu"
local configValue = BridgeClientConfig.MenuSystem
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
--print("Loading QB Menu")
--- Converts an Ox menu to a QB menu.
---@param id string The menu ID.