mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
@@ -29,6 +29,17 @@ local function showRadial(id)
|
|||||||
|
|
||||||
currentRadial = radial
|
currentRadial = radial
|
||||||
|
|
||||||
|
-- Hide current menu and allow for transition
|
||||||
|
SendNUIMessage({
|
||||||
|
action = 'openRadialMenu',
|
||||||
|
data = false
|
||||||
|
})
|
||||||
|
|
||||||
|
Wait(100)
|
||||||
|
|
||||||
|
-- If menu was closed during transition, don't open the submenu
|
||||||
|
if not isOpen then return end
|
||||||
|
|
||||||
SendNUIMessage({
|
SendNUIMessage({
|
||||||
action = 'openRadialMenu',
|
action = 'openRadialMenu',
|
||||||
data = {
|
data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user