Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not vrot then
- local f = CreateFrame("Frame")
- f:SetSize(64, 64)
- f:SetPoint("CENTER", FramerateLabel, "CENTER", 0, -20)
- local ft = f:CreateTexture()
- ft:SetAllPoints()
- RMF = CreateFrame("Frame")
- RMF:RegisterEvent("MODIFIER_STATE_CHANGED")
- RMF:SetScript("OnEvent", function(self, event, ...)
- local arg = {...}
- if RotSwitch == nil then
- ft:SetTexture("Interface\\AddOns\\pve\\Blp\\gray")
- end;
- if arg[1] == "LSHIFT" and arg[2] == 1 then
- if RotSwitch == 1 then
- RotSwitch = 2
- ft:SetTexture("Interface\\AddOns\\pve\\Blp\\red")
- else
- RotSwitch = 1
- ft:SetTexture("Interface\\AddOns\\pve\\Blp\\green")
- end
- end;
- if arg[1] == "RSHIFT" and arg[2] == 1 then
- if RotSwitch == 1 or RotSwitch == 2 then
- RotSwitch = 3
- ft:SetTexture("Interface\\AddOns\\pve\\Blp\\white")
- else
- RotSwitch = 2
- ft:SetTexture("Interface\\AddOns\\pve\\Blp\\red")
- end
- end;
- end)
- vrot = true end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement