ummm, you just told him to use dxDrawImage,
plus Idk nothing or I don't want to get in to this, so, I'm just a helper:
use dxDrawImage to put the image in the scoreboard:
exports.scoreboard:addScoreboardColumn('Rank')
function scoreLevel ()
local account = getPlayerAccount(source)
local level = getAccountData(account, "rank")
if (level ~= nil) then
setAccountData(account,"rank",0)
setElementData(source,"Rank",0)
else
setElementData(source,"Rank",level)
end
rank = getElementData(source,"Rank")
if (rank == 0) then
dxDrawImage()
elseif (rank == 1) then
--SO ON SO ON
end
end
addEventHandler ( "onPlayerSpawn", getRootElement(), scoreLevel )