GetVehicleCustomPrimaryColor

From RAGE Multiplayer Wiki

Returns the vehicle's custom primary color.


C# Syntax

Color NAPI.Vehicle.GetVehicleCustomPrimaryColor(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the custom secondary color in Color type.

Example

Color vehicleColor = NAPI.Vehicle.GetVehicleCustomPrimaryColor(vehicle);