Anyelberth Posted February 21, 2013 Posted February 21, 2013 Hola Chicos... Quisiera Saver Que Tengo De Malo Aca? theObject = createObject ( 2990, 2473.899, 41.7998, 29.200000, 0, 0, 269.98901) x,y,z = getElementPosition (theObject) Puerta = createColRectangle ( x,y, 10, 10) function funcion() moveObject ( theObject, 10000 , 2474, 41.9000015, 21.39999961853 ) end addEventHandler ( "onColShapeHit", Puerta, funcion ) o aca <meta> <info author="[FOLT][L]-|For-Speed|-" version="1.0.0" name ="puerta" description="Puerta" type="misc" /> <script src="server.lua" type="server" /> </meta> http://oi50.tinypic.com/2po49k2.jpg[/img]
Castillo Posted February 21, 2013 Posted February 21, 2013 Cual es el problema? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Anyelberth Posted February 21, 2013 Author Posted February 21, 2013 No Me Baja El Objeto... http://oi50.tinypic.com/2po49k2.jpg[/img]
Castillo Posted February 21, 2013 Posted February 21, 2013 Algun error? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Anyelberth Posted February 21, 2013 Author Posted February 21, 2013 Por Mas Que Trato De Buscar El Error Que Causa Que El Objeto No Baje, No Encuentro Error Alguno... Simplemente No Me Baja.... http://oi50.tinypic.com/2po49k2.jpg[/img]
Plate Posted February 21, 2013 Posted February 21, 2013 probastes poniendo /debugscript 3 y mirando el error no? Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Anyelberth Posted February 21, 2013 Author Posted February 21, 2013 No ._. http://oi50.tinypic.com/2po49k2.jpg[/img]
Plate Posted February 21, 2013 Posted February 21, 2013 Probalo hay te dice los errores Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Anyelberth Posted February 21, 2013 Author Posted February 21, 2013 Nop... No Me Sale Problema Alguno... Nada.... http://oi50.tinypic.com/2po49k2.jpg[/img]
FraN-724 Posted February 21, 2013 Posted February 21, 2013 Lo probe y no tiene ningun Problema claro que tienes que pasar por atras de las letras de la reja para que baje el Objeto.
Anyelberth Posted February 21, 2013 Author Posted February 21, 2013 Lool... se mueve en la parte que yo no quiero... Como Puedo Aser Para Que Se Mueva En Los Dos Lados De El Objeto? theObject = createObject ( 2990, 2473.899, 41.7998, 29.200000, 0, 0, 269.98901) x,y,z = getElementPosition (theObject) Puerta = createColRectangle ( x,y, 20, 20) function funcion(source) local FOLT = getTeamFromName ( "FOLT" ) local Team = getPlayerTeam ( source ) if (Team) == FOLT then moveObject ( theObject, 10000 , 2474, 41.9000015, 21.39999961853 ) end end addEventHandler ( "onColShapeHit", Puerta, funcion ) function funcion2(source) local FOLT = getTeamFromName ( "FOLT" ) local Team = getPlayerTeam ( source ) if (Team) == FOLT then moveObject ( theObject, 10000 , 2473.899, 41.7998, 29.200000 ) else outputChatBox( "No Tienes Permiso", source, 0, 225, 0 ) end end addEventHandler ( "onColShapeLeave", Puerta, funcion2 ) http://oi50.tinypic.com/2po49k2.jpg[/img]
Julian09123 Posted February 21, 2013 Posted February 21, 2013 Lool... se mueve en la parte que yo no quiero...Como Puedo Aser Para Que Se Mueva En Los Dos Lados De El Objeto? theObject = createObject ( 2990, 2473.899, 41.7998, 29.200000, 0, 0, 269.98901) x,y,z = getElementPosition (theObject) Puerta = createColRectangle ( x,y, 20, 20) function funcion(source) local FOLT = getTeamFromName ( "FOLT" ) local Team = getPlayerTeam ( source ) if (Team) == FOLT then moveObject ( theObject, 10000 , 2474, 41.9000015, 21.39999961853 ) end end addEventHandler ( "onColShapeHit", Puerta, funcion ) function funcion2(source) local FOLT = getTeamFromName ( "FOLT" ) local Team = getPlayerTeam ( source ) if (Team) == FOLT then moveObject ( theObject, 10000 , 2473.899, 41.7998, 29.200000 ) else outputChatBox( "No Tienes Permiso", source, 0, 225, 0 ) end end addEventHandler ( "onColShapeLeave", Puerta, funcion2 ) Amigo Mira El objeto se te mueve para un lado que no quieres??? Bueno entonces estan mal tus X,y,z. Skype: Juliang09123
Recommended Posts