Quantcast
Hide realmname+pvp number - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-13-20, 09:17 AM   #1
abipupu
A Defias Bandit
Join Date: Aug 2020
Posts: 3
Question Hide realmname+pvp number

-----ARENA NUMBER (1 2 3 at nameplates)------

local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",function(F)if IsActiveBattlefieldArena()and F.unit:find( "nameplate")then for i=1,5 do if U( F.unit ,"arena"..i)then F.name:SetText(i)F.name:SetTextColor(1 ,1,0)break end end end end)

----------HIDE REALMNAME (Replace -Realmname to (*) )-----------
hooksecurefunc("CompactUnitFrame_UpdateName", function(frame)
if ShouldShowName(frame) then
if frame.optionTable.colorNameBySelection then
frame.name:SetText(GetUnitName(frame.unit))
end
end
end)

this two scripts wont work together, please help fix that . i have no clue
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Hide realmname+pvp number

Thread Tools
Display Modes

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