GetVehicleCustomPrimaryColor

From RAGE Multiplayer Wiki
Revision as of 17:30, 12 December 2019 by Avoid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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