Skip to main content

SetVehicleMod

Sets a specific vehicle modification to a slot.

C#​

void NAPI.Vehicle.SetVehicleMod(Vehicle vehicle, int modType, int mod);

Parameters​

  • vehicle: parameter input should be in Vehicle type
  • modType: parameter input should be in int type
  • mod: parameter input should be in int type There are 50 (0 - 49) mod types

Example​

NAPI.Vehicle.SetVehicleMod(vehicle, 3, 2);