Plate Posted July 20, 2012 Posted July 20, 2012 Hola!!!! como podria hacer para ponerle 2 miniguns al costado al hunter y cuando el player toque ctrl disparen^^ Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
NodZen Posted July 20, 2012 Posted July 20, 2012 Hola , aca te dejo un script que es el patriot con minigun . Site fijas bien en el script aparece el ID del modela de la minigun y todas las demas cosas , luego borras lo que dice addComandHandler("humvee", turret) por el BindKey que quieras y ya. Solo tienes que cambiar el ID del auto . function turret( source, commandName ) local x, y, z = getElementPosition( source ) local patriotgun1 = createObject(2985, 0, 0, 0) local patriotgun2 = createObject(2985, 0, 0, 0) local patriottank = createVehicle(464, 0, 0, 0) local patriot1 = createVehicle ( 470,x, y, z ) local c4 = createObject (1654, 0, 0, 0, 0) local c42 = createObject (1654, 0, 0, 0, 0) local c43 = createObject (1654, 0, 0, 0, 0) attachElements (patriottank, patriotgun1, -0, 0,1, 0,0,-90) attachElements (c4, patriot1, 0, 0, 0.35, -90) attachElements (c42, patriot1, 0.3, 0, 0, -90, 90, 0 ) attachElements (c43, patriot1, -0.3, 0, 0, -90, -90, 0) setElementAlpha(patriottank, 0) --setElementAlpha(patriotgun1, 0) attachElements( patriotgun1, patriot1, 0, 0, 0.4, 0, 0, 90 ) setVehicleDamageProof ( patriot1, true ) setVehicleDamageProof ( patriottank, true ) warpPedIntoVehicle(source, patriot1) end addCommandHandler( "humvee", turret ) --minigun1 minigun1 = createObject(2985, 97,2492, 15.6,0,0,180) miniggun1 = createVehicle(464, 0, 0, 0) setVehicleDamageProof ( miniggun1, true ) setElementAlpha(miniggun1, 0) attachElements( miniggun1, minigun1, 0, 0, 1, 0, 0, -90 ) ------------------------------------------------------------------------------------------ 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
Castillo Posted July 20, 2012 Posted July 20, 2012 Si, pero para hacer que disparen es otra cosa. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Alexs Posted July 20, 2012 Posted July 20, 2012 El Build para eso de createWeapon sirve con 1.3? Developer @ MYVAL
Castillo Posted July 20, 2012 Posted July 20, 2012 Branch version 1.4 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Plate Posted July 20, 2012 Author Posted July 20, 2012 pero que tengo que usar para crearla Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Plate Posted July 20, 2012 Author Posted July 20, 2012 los 2 Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Alexs Posted July 20, 2012 Posted July 20, 2012 La minigun con attachElements como @NOD te mostro, el disparo no se... Developer @ MYVAL
Plate Posted July 20, 2012 Author Posted July 20, 2012 si pero ese script lo conosco y tienes que apretar enter y subis a un rcbaron y de hay disparas y tampoco te puedes mover yo quisiera crear una minigun Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Plate Posted July 20, 2012 Author Posted July 20, 2012 Si eso lo se pero es que en el script qe me paso NOD (gracias) tenes que apretar enter y subes a un rc baron yo quisiera crear la minigun (con la que disparaas comun) y ponersela al costado a el hunter Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Alexs Posted July 20, 2012 Posted July 20, 2012 usa attachElements, es una funcion simple, pero hacerla disparar es otra cosa Developer @ MYVAL
Plate Posted July 20, 2012 Author Posted July 20, 2012 Listo ya la lei y no es complicada pero con que creo la minigun Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
iFoReX Posted July 21, 2012 Posted July 21, 2012 y luego para que dispare : bindKey createProjectile 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 July 21, 2012 Posted July 21, 2012 createProjecticle no tiene la funcion para balas de ese calibre. Solo granadas o misiles 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
Recommended Posts