MenuV | Standalone Menu for FiveM
  • Welcome to MenuV docs
  • Getting Started
  • MenuV
    • CreateMenu
    • GetMenu
  • Enums
    • Positions
    • Sizes
Powered by GitBook
On this page
  • MenuV:CreateMenu
  • Parameters
  • Returns
  • Examples

Was this helpful?

  1. MenuV

CreateMenu

Create a MenuV menu

Namespace

Type

MenuV

function

MenuV:CreateMenu

MenuV:CreateMenu(title: string, subtitle: string, position: Position, r: number, g: number, b: number, icon: string, size: Size): Menu

Parameters

Name

Type

Description

Default

title

string

Title on header

"MenuV"

subtitle

string

Subtitle under header

""

position

Position

"topleft"

r

number

Red color between 0 - 255

0

g

number

Green color between 0 - 255

0

b

number

Blue color between 0 - 255

255

icon

string

""

size

Size

"size-110"

Returns

Index

Type

Description

1

Menu

Generated menu based on parameters

Examples

local menu = MenuV:CreateMenu('MenuV', 'Welcome to menu', 'topleft', 255, 0, 0, 'fab fa-angellist', 'size-125')
PreviousGetting StartedNextGetMenu

Last updated 4 years ago

Was this helpful?

icon on banner

Read about position
FontAwsome
Read about size