RemoveVehicleComponent

From SA-MP Wiki

Jump to: navigation, search


Description:

Remove a component from a vehicle.


Parameters:
(vehicleid, componentid)
vehicleidID of the vehicle.
componentidID 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.


//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 they're related to this function in one way or another.

In other languages