gui

Example:

test = gui.add_dropdown("test", "option 1", "option 2", "option 3")
utils.log("selected: " .. test:get_value() .. "\n", color.new(255, 255, 255))

Functions:

add_checkbox

ArgumentTypeRequired

title

string

+

default

bool

-

add_slider

ArgumentTypeRequired

title

string

+

min

number

+

max

number

+

default

number

-

add_dropdown

ArgumentTypeRequired

title

string

+

options

variadic string / array

+

add_dropdown_multi

ArgumentTypeRequired

title

string

+

options

variadic string / array

+

add_keybind

ArgumentTypeRequired

title

string

+

default

number

-

add_colorpicker

ArgumentTypeRequired

title

string

+

default

color

-

add_textbox

ArgumentTypeRequired

title

string

+

default

string

-

add_numberfield

ArgumentTypeRequired

title

string

+

default

number

-

add_filedropdown

ArgumentTypeRequired

title

string

+

path

string

+

extensions

variadic string / array

+

add_spacer

ArgumentTypeRequired

title

string

+

spacing

number

-

add_button

ArgumentTypeRequired

title

string

+

callback

function

+

find

Finds control by its identifier (use dev console "list" command).

ArgumentTypeRequired

identifier

string

+

get_alpha

Returns alpha that the ui is being rendered at.

Last updated