Hi, wondering if anyone here can help, trying to get rid of the “group x” on the player frame, code for addon, thanks
/run hooksecurefunc(PlayerFrameGroupIndicatorText, "SetText", function(self) local t = self:GetText() if not t or t == "" then return end self:SetText("") end)
remove the /run
if not using in a macro.
You could also hook the PlayerFrame.PlayerFrameContent.PlayerFrameContentContextual.GroupIndicator
OnShow script and
PlayerFrameGroupIndicatorText:SetText("")
awesome thanks, is there any way to remove the grey part?
Instead try:
/run hooksecurefunc("PlayerFrame_UpdateGroupIndicator", function() PlayerFrame.PlayerFrameContent.PlayerFrameContentContextual.GroupIndicator:Hide() end)
This assumes the GroupIndicator is the “grey pary”.