GetVehicleCustomSecondaryColor

From RAGE Multiplayer Wiki

Returns the vehicle's custom secondary color.


C# Syntax

Color NAPI.Vehicle.GetVehicleCustomSecondaryColor(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.GetVehicleCustomSecondaryColor(vehicle);