Jump to content

[HELP] getVehicleComponent


Imposter

Recommended Posts

Posted

addVehicleUpgrade ( theVehicle, id ) 

* theVehicle = the vehicle that you want to add nitro

* id = the id of the vehicle upgrade

and i found the nitro ids

1008 
or 
1009 
or 
1010 

Posted
Is not what he's talking about as far as I know, he's talking about component.

Yeah, such as there the Nitro model is placed, there has to be a name for the component key.

Posted

According to this http://www.gtaforums.com/index.php?showtopic=158088 nitro component is named "ug_nitro". You can always try to use getVehicleComponents and output all the components to see yourself. As far as I remember, vehicle components need to have a mesh attached to the dummy/component and ug_nitro dummy doesn't have any children/meshes attached to it, so getVehicleComponents may not return that. It may also only return 1 of the wheel dummies because only 1 wheel model is attached to the wheel dummy of the vehicle.

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