Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-14-18, 05:52 PM   #1
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
IsInGroup not working

Can someone give me an advice how can i run this code only if player are in group?

local smallcircle5 = CreateFrame("Frame", "SmallCircleTopCenter", self)
smallcircle5:SetFrameLevel(self.Health:GetFrameLevel() + 5)
local smallcircle5texture = smallcircle5:CreateTexture(nil, "ARTWORK")
smallcircle5texture:SetTexture(m.textures.smallcircle)
smallcircle5texture:SetPoint('CENTER', self, 46, 35)
smallcircle5texture:SetSize(26,26)
smallcircle5texture:SetTexCoord(0, 1, 0, 1)
I tried like if IsInGroup('player') then

CODE

end

But it doesen't take a effect, until i reload my ui.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » IsInGroup not working


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off