I wanted to display rank emblems in scoreboard but it won't.
exports.scoreboard:addScoreboardColumn('Rank')
function scoreLevel ()
local account = getPlayerAccount(source)
local level = getElementData(source, "player.level")
if isGuestAccount(account) then
setElementData(source, "emblem.system", "ranks/guest.png") --Show the image for guest players
else
setElementData(source, "emblems.system", tostring("Rank_"..level..".png" )) --Show the images rank
end
end
addEventHandler("onPlayerJoin", getRootElement(), scoreLevel)
addEventHandler("onPlayerLogin", getRootElement(), scoreLevel)