Jump to content

Como se le baja la opacidad a un dxDrawRectangle??


lLinux

Recommended Posts

Te referis a la visibilidad? si es asi, entonces es el cuarto argumento en tocolor.

Gracias, otra duda y para enviarle un texto, por ejemlo que pongas el comando /texto1 y se cambia el texto de un dxDrawText, eso seria todo lo que neceisto

Link to comment
local myText = "Hello World!" 
  
addEventHandler ( "onClientRender", root, 
    function ( ) 
        dxDrawText ( myText, 0, 0, guiGetScreenSize ( ) ) 
    end 
) 
  
addCommandHandler ( "change", 
    function ( _, new ) 
        myText = new 
    end 
) 

Link to comment
local myText = "Hello World!" 
  
addEventHandler ( "onClientRender", root, 
    function ( ) 
        dxDrawText ( myText, 0, 0, guiGetScreenSize ( ) ) 
    end 
) 
  
addCommandHandler ( "change", 
    function ( _, new ) 
        myText = new 
    end 
) 

Muchas gracias.

Link to comment
  • Recently Browsing   0 members

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