GetVehicleComponent
Description
Gets the Vehicle Component from the vehicle with the index passed as a parameter.
Declaration
Parameters
Name
Description
vehicleIndex
The index of the vehicle to get the component from.
Returns
VehicleComponent - the component from the vehicle with the index passed as a parameter.
Example
Last updated