Getting Started

How to install MenuV

  1. Download the latest stable release of MenuV and place it in your resource folder.

  2. Add @menuv/menuv.lua in your fxmanifest.lua

--- EXAMPLE: fxmanifest.lua

fx_version 'adamant'
game 'gta5'

client_scripts {
    '@menuv/menuv.lua',
    'example.lua'
}

dependencies {
    'menuv'
}

Creating a basic menu

You can create a menu by using the MenuV class. This class provides 5 functions: CreateMenu, GetMenu, OpenMenu, CloseMenu and CloseAll.

CreateMenu has 8 parameters: Title, Subtitle, Position, Red, Green, Blue, Icon and Size.

Example

Now you can start adding options to your menu by using the following functions: AddButton, AddCheckbox, AddSlider, AddRange and AddConfirm.

You can bind events by adding the name of events in the table while creating the item or after the item has been created and using the On function.

Last updated

Was this helpful?