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 |
Lua Code:
|
Quote:
|
All times are GMT -6. The time now is 12:16 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI