• 0

    posted a message on kgPanels Offical Thread
    hello,

    How to use code to set Frame's bg texture in library?

    ex:

    local _, class = UnitClass("player");
    .
    .
    .
    .
    .
    elseif class == "PALADIN" then
    self:SetBackdropBorderColor(0.83, 0.47, 0.63, self.bg:GetAlpha())
    kgPanels:FetchFrame("Chat").bg : SetTexture("\\Interface\\Textures\\8series\\8spal")
    .
    .
    .
    .
    .


    What's worng with my code?
    Posted in: General AddOns
  • To post a comment, please or register a new account.