Jump to content

Minigun


Plate

Recommended Posts

Posted

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

Posted

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

Posted

Si, pero para hacer que disparen es otra cosa.

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
Branch version 1.4

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

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

Posted

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

Posted

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

Posted

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

  • Recently Browsing   0 members

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