RemoveVehicleComponent

RemoveVehicleComponent

Description:
Function RemoveVehicleComponent remove a component from a vehicle.


Parameters:
(vehicleid, componentid)
int vehicleid ID of the vehicle.
int componentid ID of the component to remove.


Return Values:
  • 0 - The component was not removed because the vehicle does not exist.
  • 1 - The component was successfully removed from the vehicle.


Examples:
//remove Nitro from vehicle number 1
RemoveVehicleComponent(1,1010);


Related Functions
The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.