Skip to main content

SetVehicleSecondaryColor

This function sets the vehicle's secondary color.

C#​

void NAPI.Vehicle.SetVehicleSecondaryColor(Vehicle vehicle, int color);

Parameters​

  • vehicle: parameter input should be in Vehicle type
  • color: parameter input should be in int type

Example​

NAPI.Vehicle.SetVehicleSecondaryColor(vehicle, 45);