Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local frame = CreateFrame("FRAME", "DefaultUIScrips")
- frame:RegisterEvent("PLAYER_ENTERING_WORLD")
- local function eventHandler(self, event, ...)
- for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:Hide() end
- for i = 1, 12 do _G["BonusActionButton"..i.."HotKey"]:Hide() end
- for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:Hide() end
- for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:Hide() end
- for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:Hide() end;for i = 1, 12 do _G["BonusActionButton"..i.."HotKey"]:Hide() end;for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:Hide() end;for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:Hide() end
- end
- frame:SetScript("OnEvent", eventHandler)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement