Jump to content

How to attach Missile to Packer? Как приделать ракеты к Пакеру?


Military Guy

Recommended Posts

function c(thePlayer, commandName)
local x, y, z = getElementPosition(thePlayer)
local vehicle = createVehicle(411, x, y+3, z+2)
local missile = createObject(3790, x, y, z)
attachElements(missile, vehicle, 0, 0, 3)
end
addCommandHandler("missile", c)

 

Link to comment
43 minutes ago, Hydra said:

function c(thePlayer, commandName)
local x, y, z = getElementPosition(thePlayer)
local vehicle = createVehicle(411, x, y+3, z+2)
local missile = createObject(3790, x, y, z)
attachElements(missile, vehicle, 0, 0, 3)
end
addCommandHandler("missile", c)

 

How to shoot?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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