Dropdown
UI:Dropdown(<string> DropdownName, <string> DropdownDescription, <table> Options, <func> Callback)
Parameters
Parameter
Type
Description
Default
DropdownName
string
Name of the dropdown
"Dropdown"
DropdownDescription
string
Description of the dropdown
""
Options
table
Dropdown options
{"#1", "#2", "#3"}
Callback
function
Callback function
function() end
Example
UI:Dropdown("Dropdown", "Dropdown description", {"1", "2", "3"}, function(value)
print(value)
end)
Last updated
Was this helpful?