Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 665 Bytes

create-submenu.md

File metadata and controls

15 lines (11 loc) · 665 Bytes

Create SubMenu

Create a 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.

  1. New method (variable)

     local subMenu = RageUI.CreateMenu(mainMenu, "Menu title", "Menu description")
    
  2. Old method (RMenu)

     RMenu.Add('showcase', 'submenu', RageUI.CreateSubMenu(RMenu:Get('showcase', 'main'), "RageUI", "showcase"))