Quantcast
WoWInterface - View Single Post - A little script help for kgpanels
View Single Post
01-06-13, 07:15 AM   #20
Kapone
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 16
Okey. but ive tried out
Code:
local n = GetNumGroupMembers()
if IsInRaid() and n > 1 and n < 10 then
     self:hide()
else
     self:show()
end
and
Code:
local n = GetNumGroupMembers()
if IsInRaid() and n > 0 and n < 11 then
     self:Show()
else
     self:Hide()
took a shot with
Code:
if IsInRaid() and GetNumGroupMembers() >=1 and GetNumGroupMembers() <= 10 then
     self:Show()
else
     self:Hide()
also
Code:
local raid = GetNumGroupMembers()
if IsInRaid() and raid >= 1 and raid <= 10 then
     self:Show()
else
     self:Hide()
end
And still my 10 man and 25 man panel is showing at the same time =(
Im not sure if the onload is right or if i just put things in wrong place's =/

Onload:
Code:
self:RegisterEvent("GROUP_ROSTER_UPDATE")

Last edited by Kapone : 01-06-13 at 07:48 AM.
  Reply With Quote