maauroo Posted February 25, 2012 Author Posted February 25, 2012 Quisiera Saber Si Es Posible Usar El Mismo Cmd /Cerrar En Todas Las Puerta Con Un Posicion Que Permita Usarce El Cmd ?Si Es Posible ¿Como Se Hace?
iFoReX Posted February 25, 2012 Posted February 25, 2012 mmm... yo lo ise para que con 2 comandos se abra y se sierre una puerta elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
iFoReX Posted March 23, 2012 Posted March 23, 2012 mmm me ayudarian con esto ? local objeto = createObject ( 2669, 1093.67834, -2704.56226, 8.48407, 0, 0, 0) local Col = createColCuboid ( 1093.67834, -2704.56226, 8.48407, 3, 8, 4 ) function Elevador(player) local accName = getAccountName ( getPlayerAccount ( player ) ) -- get his account name if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "Everyone" ) ) then moveObject(objeto,5000 ,1093.67834, -2704.56226, 16) setTimer (moveObject, 5000, 1, objeto, 5000, 1093.67834, -2704.56226, 16) end end addEventHandler("onColShapeHit",Col,Elevador) Es que no sube :c elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
BorderLine Posted March 24, 2012 Posted March 24, 2012 local objeto = createObject ( 2669, 1093.67834, -2704.56226, 8.48407, 0, 0, 0) local Col = createColCuboid ( 1093.67834, -2704.56226, 8.48407, 3, 8, 4 ) function Elevador() moveObject(objeto,5000 ,1093.67834, -2704.56226, 16) setTimer (moveObject, 5000, 1, objeto, 5000, 1093.67834, -2704.56226, 16) end addEventHandler("onColShapeHit",Col,Elevador) Si quieres que sea para todos los jugadores nomas deja el move object y el settimer Quisiera Saber Si Es Posible Usar El Mismo Cmd /Cerrar En Todas Las Puerta Con Un Posicion Que Permita Usarce El Cmd ?Si Es Posible ¿Como Se Hace? Le asignas el mismo comando a todas las funciones. Cuando lo apliques se cerraran todas o Bien en una funcion pones todos los moveobjects Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
iFoReX Posted March 24, 2012 Posted March 24, 2012 Yakusa pero no sube pz :c elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
BorderLine Posted March 24, 2012 Posted March 24, 2012 para que se supone que es ese setTimer? Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
Alexs Posted March 24, 2012 Posted March 24, 2012 local objeto = createObject ( 2669, 1093.67834, -2704.56226, 8.48407, 0, 0, 0) local Col = createColCuboid ( 1093.67834, -2704.56226, 8.48407, 3, 8, 4 ) function Elevador() moveObject(objeto,5000 ,1093.67834, -2704.56226, 16) end addEventHandler("onColShapeHit",Col,Elevador) function Elevador2() setTimer (moveObject, 5000, 1, objeto, 5000, 1093.67834, -2704.56226, 16) end addEventHandler("onColShapeLeave",Col,Elevador) pruebalo asi Developer @ MYVAL
Recommended Posts