Skip to main content

ui.new_checkbox

Returns a special value that can be passed to ui.get and ui.set, or throws an error on failure.

ui.new_checkbox(tab: string, container: string, name: string): number

Arguments

NameDescriptionType
tabThe name of the tab: RAGE, AA, LEGIT, VISUALS, MISC, SKINS, PLAYERS, LUA.string
containerThe name of the existing container to which this control will be added.string
nameThe name of the checkbox.string

Returns menu item: number