Jump to content

Problema :S


Arsilex

Recommended Posts

Posted
addEventHandler( "onClientRender", root, 
    function() 
        dxDrawText( "dxDrawText", 100, 350, 300, 350, tocolor(255,255,0), 1, myFont ) 
    end 
) 
  
addCommandHandler( "toggle", 
    function() 
        if not myFont then 
            myFont = dxCreateFont( "segoeui.ttf", 20 ) 
        else         
            destroyElement( myFont ) 
            myFont = nil 
        end 
    end 
) 

Eso sirve para que cuando ponga /taggle se le cambien las letras a todo el server?

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted
addEventHandler( "onClientRender", root, 
    function() 
        dxDrawText( "dxDrawText", 100, 350, 300, 350, tocolor(255,255,0), 1, myFont ) 
    end 
) 
  
addCommandHandler( "toggle", 
    function() 
        if myFont then 
            destroyElement( myFont ) 
        end 
        myFont = dxCreateFont( "segoeui.ttf", 20 ) 
    end 
) 

Posted

No, eso crea una fuente nueva para usarse luego en dxDrawText.

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

Vas a tener que cambiarlo en el race, no es global.

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

Ese mismo que tenes vos, creas la fuente con dxCreateFont y luego la usas en dxDrawText.

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

Con un decompilador, pero el script no volvera a funcionar por si solo :P.

Para eso se invento el compilador, para que los que roban scripts no los puedan editar ;).

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

Yo nunca dije que lo hayas robado, si te lo pasaron debe ser porque no quieren que lo edites ;).

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.

  • Recently Browsing   0 members

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