Skip to main content

SetVehiclePrimaryColor

This sets the vehicle's primary color.

C#​

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

Parameters​

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

Example​

NAPI.NAPI.Vehicle.SetVehiclePrimaryColor(vehicle, 45);