Jump to content

Duda sobre esto.


NodZen

Recommended Posts

Posted (edited)

Hola amigos, tengo una duda sobre un script. Yo uso el sistema de Rangos de @Alex_Steel y el problema es que quiero saber que Funcion se usa para agregarle imagenes segun cada rango y que aparezca en el scobreboard.

Creo que es la de dxDrawImage , pero en ese caso como seria?

Ejemplo

Rango 1== imagen_001.png.

Edited by Guest

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

Posted

Para hacer eso necesitas editar el scoreboard.

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

Busca en el MTA community, ahi hay algunos recursos que ponen la bandera del pais en la scoreboard.

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

No me entendes, de ese recurso podes aprender a crear la imagen del rango.

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
No me entendes, de ese recurso podes aprender a crear la imagen del rango.
exports.scoreboard:addScoreboardColumn('Home') 
      
            function showcountry() 
            local flag = exports.admin:getPlayerCountry ( source ) 
                     if flag then 
                     setElementData(source,"Home",":admin/client/images/flags/"..flag..".png") 
                     else 
                     flag = "N/A"  
                     end 
             end 
     addEventHandler("onPlayerJoin",getRootElement(),showcountry) 

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

Posted

Esa es la parte mas facil, lo que necesitas es el codigo que crea la imagen en la scoreboard.

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

Oye Solid muy buena idea yo tambien intentare hacer lo mismo;9

Proximamente Proyecto SX!

In game Nick: [sX]DefearT~#

Skype: imarcosr

Twitter: @iMarcosR

  • Recently Browsing   0 members

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