Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetCVar("cameradistancemaxfactor",4)
- SetCVar("bgloadthrottle",0)
- SetCVar("combatLogOn",0)
- SetCVar("CombatLogPeriodicSpells",0)
- local myFrame = CreateFrame("Frame")
- myFrame:SetScript("OnEvent", function(self, event, ...) self[event](self, event, ...) end)
- myFrame:RegisterEvent("PLAYER_LOGIN")
- function myFrame:PLAYER_LOGIN(...)
- COMBATLOG:SetScript("OnUpdate", nil) COMBATLOG:SetScript("OnEvent", nil) COMBATLOG:SetScript("OnShow", nil) COMBATLOG:UnregisterAllEvents() CombatLogUpdateFrame:SetScript("OnUpdate", nil) CombatLogUpdateFrame:UnregisterAllEvents()
- end
- myFrame = CreateFrame("Frame")
- myFrame:SetScript("OnEvent", function(self, event, ...) self[event](self, event, ...) end)
- myFrame:RegisterEvent("PLAYER_ENTERING_WORLD")
- function myFrame:PLAYER_ENTERING_WORLD(...)
- local _, instanceType = IsInInstance()
- if instanceType == "raid" or instanceType == "arena" then
- SetCVar("farclip",400)
- elseif instanceType == "none"then
- SetCVar("farclip",1000)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement