Advertisement
berlin

Player Frame Colouring

Dec 20th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. /run c=RAID_CLASS_COLORS[select(2,UnitClass("player"))] p=PlayerFrameHealthBar p:SetStatusBarColor(c.r,c.g,c.b) p.lockColor=true
  2.  
  3. /run p=PlayerFrame if p:IsShown() then pfb=PlayerFrameBackground bg=p:CreateTexture() bg:SetPoint("TOPLEFT",pfb) bg:SetPoint("BOTTOMRIGHT",pfb,0,22) bg:SetTexture(TargetFrameNameBackground:GetTexture()) bg:SetVertexColor(c.r,c.g,c.b) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement