ðĨïļGui
gui namespace
Last updated
gui namespace
Last updated
If you need to get a container ID or an existing control ID, enable
LUA>GENERAL>
Debug mode
and hover on a groupbox or any element.
You can stack most control in line with other controls. To do that, pass the ID of a control that already exists into the container_id
argument of the function.
id
string
new id
container_id
string
container id
label
string
label
checkbox
id
string
control id
checkbox
id
string
new id
â
container_id
string
container id
â
label
string
label
â
min
number
minimum slider value
â
max
number
maximum slider value
â
format
string
format string
'%.0f'
step
number
step value
1.0
slider
id
string
control id
slider
id
string
new id
container_id
string
container id
label
string
label
is_multi
boolean
true if combobox should enable multiselect
values
string...
items
combobox
id
string
control id
combobox
id
string
new id
â
container_id
string
container id
â
label
string
label
â
is_mult
boolean
true if list should enable multiselect
â
height
number
element height
120
list
id
string
new id
container_id
string
container id
label
string
label
button
id
string
new id
container_id
string
container id
label
string
label
label
id
string
new id
container_id
string
container id
textbox
id
string
new id
â
container_id
string
container id
â
label
string
label
â
default
default color
â
allow_alpha
boolean
true if alpha modification is allowed
true
list
id
string
control id
color_picker
menu's visibility state
boolean
x1
number
y1
number
x2
number
y2
number
id
string
messagebox id
title
string
title
message
string
message
id
string
dialog id
title
string
title
message
string
message
button
dialog box buttons
callback
result callback
title
string
title
message
string
message
fn
function(string, number, number, bool)
callback function
name
string
item name
key
number
mode
hotkey mode
is_active
boolean
true if currently active
function()
active key ()