Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CoreLoot.DefaultDatabase = {
- -- things
- Blacklist = { [1234] = "Some Item" }
- -- Things
- }
- local _BlacklistDropdown = CoreLoot.GUI:Create("Dropdown")
- _BlacklistDropdown:SetMultiselect(true)
- _BlacklistDropdown:SetFullWidth(true)
- _BlacklistDropdown:SetLabel("Blacklisted Items")
- _BlacklistDropdown:SetList(CoreLoot.DefaultDatabase.Blacklist)
- _BlacklistDropdown:SetCallback("OnValueChanged", function(key, checked)
- CoreLoot:Print(key)
- CoreLoot:Print(checked)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement