Code:
if not (unit == "targettarget" or unit == "focustarget") then
local hpp = createFont(hp, "OVERLAY", font, fontsize, fontflag, 1, 1, 1)
if(unit == "pet") then
hpp:SetPoint("CENTER", hp, -2, 0)
else
hpp:SetPoint("RIGHT", hp, -2, 0)
end
if(unit == "player") then
self:Tag(hpp, '[syliha:hp]')
elseif(unit == "focus") then
self:Tag(hpp, '[syliha:hp]')
else
self:Tag(hpp, '[freeb:pp] [freeb:hp]')
end
end