Jump to content

guiMoveToBack ayuda!


Bc#

Recommended Posts

Posted

Necesito enviar esto al fondo para poner un dxText por encima pero no he podido, ayuda por favor.

        g_GUI = { 
            timeleftstatic = guiCreateStaticImage(screenWidth-333, -20, 1920/4.8, 1024/4.4, 'img/timeleft.png', false,  
            timeleft = guiCreateLabel(screenWidth-156, 72, 100, 30, '', false), 
            timepassed = guiCreateLabel(screenWidth-140, 136, 100, 30, '', false), 
        } 
        guiMoveToBack(g_GUI) 

o por ultimo que me digan como enviar la staticimage al fondo

Bc Media Clan XPG Foro
mtasa://104.223.20.159:21003

Posted
        g_GUI = { 
            timeleftstatic = guiCreateStaticImage(screenWidth-333, -20, 1920/4.8, 1024/4.4, 'img/timeleft.png', false), 
            timeleft = guiCreateLabel(screenWidth-156, 72, 100, 30, '', false), 
            timepassed = guiCreateLabel(screenWidth-140, 136, 100, 30, '', false), 
        } 
        guiMoveToBack(g_GUI.timeleftstatic) 

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

Lo que pasa es que estas creando las labels fuera de la imagen.

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

Ok lo integre dentro ahora se ve por ensima pero al hacer eso me surgio otro problema.

        g_GUI = { 
            timeleftstatic = guiCreateStaticImage(screenWidth-333, -20, 1920/4.8, 1024/4.4, 'img/timeleft.png', false, nil), 
            timeleft = guiCreateLabel(screenWidth-156, 72, 100, 30, '', false), 
            timepassed = guiCreateLabel(screenWidth-140, 136, 100, 30, '', false), 
            fpslbl = guiCreateLabel(screenWidth-220, 36, 100, 30, '', false), 
        } 
        guiSetText ( g_GUI.fpslbl, ""..getElementData(getLocalPlayer(),"fps").."") 

Al poner eso aparecen mis fps, pero aparece un numero estático no varia.

Ej: sale 56 y se queda en 56 no baja ni sube, siendo que en el scoreboard si varia.

¿ Tendría que usar alguna herramienta de refresh para que fuera variando, y si es así cual seria la sintaxis que tendría que usar?

Bc Media Clan XPG Foro
mtasa://104.223.20.159:21003

  • Recently Browsing   0 members

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