GetVehicleCustomSecondaryColor

From RAGE Multiplayer Wiki
Revision as of 17:28, 12 December 2019 by Avoid (talk | contribs) (Created page with "Returns the vehicle's custom secondary color. {{CSharpContainer| {{#tag:pre|int {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleCustomSecondaryColor(Vehicle vehicle...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the vehicle's custom secondary color.


C# Syntax

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