لا ما اشتغل لنو كودي أنا من فنكشن طويلة
addEventHandler ( "onClientRender", nametags_Root,
function()
if getElementData(getLocalPlayer(), "state.hud") == "disabled" then
return
end
for i,player in ipairs(nametags_Players) do
if isElement(player) then
setPlayerNametagShowing ( player, false )
if not nametags[player] then
nametags.Create ( player )
end
end
end
if Nametags_Hide then
return
--etc
--etc
--etc
if getElementData(player, "invincible") == false then
if class and team then
dxDrawImage ( sx - math.max(nameWidth/4, teamWidth/2.5) - 4.3*scale, sy - 18, 18, 18, ":Experience/Emblems/"..H..".png" )
elseif class and not team then
dxDrawImage ( sx - math.max(nameWidth/4, teamWidth/2.9)- 2*scale, sy - 18, 18, 18, ":Experience/Emblems/"..H..".png" )
end
end
if getElementData(player, "invincible") == true then
if class and team then
dxDrawImage ( sx - math.max(nameWidth/4, teamWidth/2.5) - 4*scale, sy - 18, 18, 18,":freeroam/icon.png" )
elseif class and not team then
dxDrawImage ( sx - math.max(nameWidth/4, teamWidth/3.1) - 2*scale, sy - 18, 18, 18,":freeroam/icon.png" )
end
end
-- etc
-- etc
-- etc