SetVehicleCustomSecondaryColor

From RAGE Multiplayer Wiki

This function sets the vehicle's custom secondary color.


C# Syntax

void NAPI.Vehicle.SetVehicleCustomSecondaryColor(Vehicle vehicle, int red, int green, int blue);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • red: parameter input should be in int type
  • green: parameter input should be in int type
  • blue: parameter input should be in int type

Example

NAPI.Vehicle.SetVehicleCustomSecondaryColor(vehicle, red, green, blue);