mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-19 06:46:04 +01:00
add openBossmenu() function
This commit is contained in:
@@ -231,3 +231,16 @@ function useDoor(data)
|
|||||||
DoScreenFadeIn(1000)
|
DoScreenFadeIn(1000)
|
||||||
Wait(100)
|
Wait(100)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function openBossMenu(isGang, group)
|
||||||
|
if isStarted("qb-management") then
|
||||||
|
if isGang then
|
||||||
|
TriggerEvent("qb-gangmenu:client:OpenMenu")
|
||||||
|
else
|
||||||
|
TriggerEvent("qb-bossmenu:client:OpenMenu")
|
||||||
|
end
|
||||||
|
elseif isStarted("qbx_management") then
|
||||||
|
exports["qbx_management"]:OpenBossMenu(isGang and "gang" or "job")
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user