Jump to content

Ayuda con scripts gate


Julian09123

Recommended Posts

Posted

Tenes que recargar los recursos con "/refresh".

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

Tenes que recargar los recursos con "/refresh".

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

Se inicio el recurso o no?

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 (edited)

No se moverà porque todas las posZ son iguales!. Probà asi

objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
  
function mover () 
     moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 15.89999961853 ) 
end 
addCommandHandler ("abrir", mover ) 
  
  
function close () 
     moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
end 
addCommandHandler (cerrar", close ) 
  
 

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
objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
  
addCommandHandler ( "puerta", 
    function ( ) 
        moveObject ( objeto, 50000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
    end 
) 
  
addCommandHandler ( "puerta", 
    function ( ) 
        moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
    end 
) 

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 se moverà porque todas las posZ son iguales!. Probà asi
objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
  
function mover () 
     moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 15.89999961853 ) 
end 
addCommandHandler ("abrir", mover ) 
  
  
function close () 
     moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
end 
addCommandHandler (cerrar", close ) 
  
  
 

No aparece el gate

Skype: Juliang09123

Posted

Copia el codigo que puse y listo.

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
Como que no aparece
-- probà asi. Ami me anda
  
function load () 
objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
end 
addEventHandler ( "onResourceStart", getRootElement(), load ) 
  
  
function mover () 
     moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 15.89999961853 ) 
end 
addCommandHandler ("abrir", mover ) 
  
function close () 
     moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
end 
addCommandHandler (cerrar", close ) 
  
  
 

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

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
objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
  
addCommandHandler ( "puerta", 
    function ( ) 
        moveObject ( objeto, 50000, 96.599998474121, 1921.4000244141, 15.89999961853 ) 
    end 
) 
  
addCommandHandler ( "puerta", 
    function ( ) 
        moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
    end 
) 

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
me parece que alfinal voy a tener que poner en mis tutoriales hasta como crear un archivo lua ._.

jajaj ( re metido pero me hizo reir xD )

State: Inactive

Posted
objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
  
addCommandHandler ( "puerta", 
    function ( ) 
        moveObject ( objeto, 50000, 96.599998474121, 1921.4000244141, 15.89999961853 ) 
    end 
) 
  
addCommandHandler ( "puerta", 
    function ( ) 
        moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
    end 
) 

castillo el gate aparece pero no se mueve

Skype: Juliang09123

Posted
objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) 
  
addCommandHandler ( "abrir", 
    function ( ) 
        moveObject ( objeto, 50000, 96.599998474121, 1921.4000244141, 15.89999961853 ) 
    end 
) 
  
addCommandHandler ( "cerrar", 
    function ( ) 
        moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) 
    end 
) 

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
  • Recently Browsing   0 members

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