combo
combo dropdown
local options = { "option 1", "option 2", "option 3" }
selected = gui.combo("combo", options)
if selected == "option 1" then
-- do something
elseif selected == "option 2" then
-- do something
else if selected == "option 3" then
-- do something
end
argument types: (string name, table items)
Last updated