NodZen Posted July 24, 2012 Posted July 24, 2012 (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 July 24, 2012 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
Castillo Posted July 24, 2012 Posted July 24, 2012 Para hacer eso necesitas editar el scoreboard. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
NodZen Posted July 24, 2012 Author Posted July 24, 2012 Para hacer eso necesitas editar el scoreboard. Un ejemplo o funcion? ------------------------------------------------------------------------------------------ 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
Castillo Posted July 24, 2012 Posted July 24, 2012 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. Education is the most powerful weapon which you can use to change the world.
NodZen Posted July 24, 2012 Author Posted July 24, 2012 Busca en el MTA community, ahi hay algunos recursos que ponen la bandera del pais en la scoreboard. No es lo mismo... ------------------------------------------------------------------------------------------ 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
Castillo Posted July 24, 2012 Posted July 24, 2012 No me entendes, de ese recurso podes aprender a crear la imagen del rango. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
NodZen Posted July 24, 2012 Author Posted July 24, 2012 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
Castillo Posted July 24, 2012 Posted July 24, 2012 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. Education is the most powerful weapon which you can use to change the world.
NodZen Posted July 24, 2012 Author Posted July 24, 2012 Intentarè hacerlo , haber si me funciona... ------------------------------------------------------------------------------------------ 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
DefearT Posted July 24, 2012 Posted July 24, 2012 Oye Solid muy buena idea yo tambien intentare hacer lo mismo;9 Proximamente Proyecto SX! In game Nick: [sX]DefearT~# Skype: imarcosr Twitter: @iMarcosR
Recommended Posts