Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function MenuOnOpen(self, ...)
- print(arg1)
- if (arg1 ~= true) then
- if (string.match(arg1, "player:(.*):")) then
- info = UIDropDownMenu_CreateInfo()
- info.justifyH = nil
- info.text = "|cff00ccffTesting"
- info.value = "Testing"
- info.tooltipTitle = "Tooltip Title"
- info.tooltipText = "This is a test"
- info.func = Clicked
- UIDropDownMenu_AddButton(info, level)
- end
- else
- return
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement