SetVehiclePrimaryColor

From RAGE Multiplayer Wiki

This sets the vehicle's primary color.


C# Syntax

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);