Jump to content

problem with scoreboard


NodZen

Recommended Posts

Hi! friends , look the problem is that no image in the scoreboard...

exports.scoreboard:addScoreboardColumn('Rank') 
  
function ranks() 
     local account = getPlayerAccount(source) 
     local zombiekills = getAccountData(account,"play.kill") or 0 
     if (zombiekills <= 500) then 
          setAccountData(account, "Rango", "1") 
          setElementData(source , " Rank", "1.png") 
     elseif (zombiekills >= 300000) then 
          setAccountData(account, "Rango", "2") 
          setElementData(source, "Rank", "2.png") 
     end 
end 

and the scoreboard client

elseif column.name == "rangos" then 
                        dxDrawImage( topX+theX, y+s(1), 30, 30, content, 0, 0, 0, cWhite, drawOverGUI ) 

some solution? Thanks

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...