Jump to content

scoreboard


Chaos

Recommended Posts

Posted
     exports.scoreboard:addScoreboardColumn('Rank') 
      
    function ranks (killer) 
    local zombiekills = getElementData(killer,"Zombie kills") 
   if (zombiekills == 9) then 
    setElementData(killer,"Rank","ranks/first.png") 
   end 
end 
addEvent( "onZombieWasted", true ) 
addEventHandler( "onZombieWasted", getRootElement(), ranks )      
  

Untitled.png

i'm trying to put image in scoreboard but it's doesn't work any help ?

Posted

You must edit the scoreboard resource to support images, if you search the forums, there are tons of topics related to this.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

But, did you edit the scoreboard script to use your rank column?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Try this:

setElementData ( killer, "Rank", ":".. getResourceName ( getThisResource ( ) ) .."/ranks/first.png" ) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

In dxDrawImage: 16 and 11 are the width and height.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Well, you'll have to resize it until it fits correctly.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...