Jump to content

make ped shoot vehicle weapon


Recommended Posts

I am making a script which has a RC baron and a mini gun model attached to the hood of a buffalo. The RC baron is invisible and is there to do the shooting while the mini gun model looks like its shooting. I need to make it so that while sitting in the buffalo I can use ctrl to shoot with the baron. Is it possible to do this? I was thinking make an invisible ped and warp it into the RC baron. Then I bind ctrl to the peds primary attack so that when I press ctrl the ped shoots. Is this possible?

Link to comment

Sora why dont you read wiki ?

attachElementToElement

Client and Server functionFrom Multi Theft Auto: Wiki

Jump to: navigation, search

This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be an alternative (usually more generic) way of performing what it once did.

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...