Jump to content

Minigun


Plate

Recommended Posts

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 ) 
  
  

Link to comment
  • Recently Browsing   0 members

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