Jump to content

Ayuda con puerta en movimiento


eldelahoz

Recommended Posts

Posted

Hola lo que pasa es que estaba viendo es te scripting lo use y no me funciona y como puedo hacer para que solamente le abra la puerta automáticamente a los del clan

theObject = createObject ( 980, 439.10000610352, 945.5, 3.9000000953674) 
x,y,z = getElemntPosition (theObject) 
Zona = createColRectangle ( x,y, 10, 10) 
function funcion () 
moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, -1.9000000953674 ) 
end 
addEventHandler ( "onColShapeHit", Zona, funcion ) 
  
  
function funcion2 () 
moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, 3.9000000953674 ) 
end 
addEventHandler ( "onColShapeLeave", Zona, funcion2 ) 

¡Saludos!

lgEoigY.png

350x20_FFFFFF_FFFFFF_000000_000000.png

Posted

Estas usando mi sistema de gangs?

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

Explica lo siguiente:

A que te referis con clan.

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
Disculpa @NOD pero creo que es poco productivo que le digas 'ese script esta mal echo' sin decirle que hizo mal.

Ya le dijiste que estaba mal

x,y,z = getElemntPosition (theObject) 

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

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

Miren ya lo e cambiado pero sigue sin funcionar

theObject = createObject ( 980, 439.10000610352, 945.5, 3.9000000953674) 
x,y,z = getElementPosition (theObject) 
Zona = createColRectangle ( x,y, 10, 10) 
function funcion () 
if z == 3.9000000953674 then 
moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, -1.9000000953674 ) 
elseif z == -1.9000000953674 then 
moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, 3.9000000953674 ) 
end 
end 
addEventHandler ( "onColShapeHit", Zona, funcion ) 

Arreglen lo o diganme que esta mal por favor

lgEoigY.png

350x20_FFFFFF_FFFFFF_000000_000000.png

  • Moderators
Posted

Sí me agregas a Skype te ayudo con eso, pero tendrás que explicar como manejas los clanes, porque puede ser por team, acl y setElementData entre otros..

 

Discord: cuervo_fi#9549

Posted
Sí me agregas a Skype te ayudo con eso, pero tendrás que explicar como manejas los clanes, porque puede ser por team, acl y setElementData entre otros..

Ok dime tu skype

lgEoigY.png

350x20_FFFFFF_FFFFFF_000000_000000.png

  • Recently Browsing   0 members

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