Hide Names in raid frames!

Have tried to use this:

-- remove name
    hooksecurefunc("CompactUnitFrame_UpdateName", function(frame)
    	if strfind(frame.unit, "raid") then
    		frame.name:Hide()
    	end	
    end)

But it dont seem to do anything, yes i have made it into a addon but it still don’t function.

Any help would be grateful!

WHAT exactly are you trying to do?
#1 hide the raid frame or
#2 hide the player names from the raidframe?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.