mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 09:43:56 +00:00
1 parent
828ca36c1c
commit
9df936ab16
1 file changed
+11
@@ -29,6 +29,17 @@ local function showRadial(id)
|
||||
|
||||
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({
|
||||
action = 'openRadialMenu',
|
||||
data = {
|
||||
|
||||
Reference in new issue
Block a user