View Single Post
08-17-16, 09:06 AM   #2
mich125
A Fallenroot Satyr
Join Date: Jan 2010
Posts: 27
I found something like this, is that what i need?

Lua Code:
  1. hooksecurefunc(getmetatable(PlayerFrameHealthBar).__index, "Show", function(bar, ...)
  2.         if bar:GetParent().healthbar then
  3.             if bar.styled == nil then
  4.         bar:SetStatusBarTexture("Interface\\AddOns\\EVUI\\FrameBackground")
  5.         bar:GetStatusBarTexture():SetHorizTile(true)
  6.         bar.styled = true
  7.             end
  8.         end
  9. end)

Last edited by mich125 : 08-17-16 at 09:11 AM.
  Reply With Quote