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
Name | Description | Type |
---|---|---|
tab | The name of the tab: RAGE, AA, LEGIT, VISUALS, MISC, SKINS, PLAYERS, LUA. | string |
container | The name of the existing container to which this control will be added. | string |
name | The name of the checkbox. | string |
Returns menu item: number