GetVehicleDashboardColor

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

Returns the vehicle's dashboard color.


C# Syntax

int NAPI.Vehicle.GetVehicleDashboardColor(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the dashboard color in int type.

Example

int dashboardColor = NAPI.Vehicle.GetVehicleDashboardColor(vehicle);