Files
community_bridge/modules/bossmenu/qb-management/server.lua
T
MrNewb 755fe9ba10 experimental but good
Early on I gave the name management to banking, I know I know it was dumb. BUT we can either deprecate them and move this to it or keep boss menu as its own module and deprecate the banking in time to a name that makes sense. Open to suggestions here
2025-06-30 21:31:06 -04:00

17 lines
480 B
Lua

---@diagnostic disable: duplicate-set-field
if GetResourceState('qb-management') ~= 'started' then return end
if GetResourceState('qbx_management') == 'started' then return end
BossMenu = BossMenu or {}
---This will get the name of the module being used.
---@return string
BossMenu.GetResourceName = function()
return "qb-management"
end
BossMenu.OpenBossMenu = function(src, jobName, jobType)
TriggerClientEvent("qb-bossmenu:client:OpenMenu", src)
end
return BossMenu