GetVehicleCustomPrimaryColor: Difference between revisions
(Created page with "Returns the vehicle's custom primary color. {{CSharpContainer| {{#tag:pre|int {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleCustomPrimaryColor(Vehicle vehicle);}}...") |
No edit summary |
||
| Line 2: | Line 2: | ||
{{CSharpContainer| | {{CSharpContainer| | ||
{{#tag:pre| | {{#tag:pre|Color {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleCustomPrimaryColor(Vehicle vehicle);}} | ||
{{Parameters}} | {{Parameters}} | ||
*'''vehicle:''' parameter input should be in '''Vehicle''' type | *'''vehicle:''' parameter input should be in '''Vehicle''' type | ||
Latest revision as of 17:30, 12 December 2019
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);