- Create SubMenu
To create your sub menu you can use the RMenu utility supplied with RageUI or else use a variable, if you want to understand how it works I invite you to check for yourself on the documentation.
-
local subMenu = RageUI.CreateMenu(mainMenu, "Menu title", "Menu description")
-
RMenu.Add('showcase', 'submenu', RageUI.CreateSubMenu(RMenu:Get('showcase', 'main'), "RageUI", "showcase"))