CreateMenu

Create a MenuV menu

Namespace

Type

MenuV

function

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

FontAwsome icon on banner

""

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')

Last updated