SetVehiclePrimaryColor: Difference between revisions
(Created page with "This sets the vehicle's primary color. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);}} === R...") |
No edit summary |
||
| Line 1: | Line 1: | ||
This sets the vehicle's primary color. | This sets the vehicle's primary color. | ||
{{CSharpContainer| | |||
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);}} | {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);}} | ||
{{Parameters}} | {{Parameters}} | ||
*'''vehicle:''' parameter input should be in '''Vehicle''' type | *'''vehicle:''' parameter input should be in '''Vehicle''' type | ||
Latest revision as of 21:03, 27 November 2019
This sets the vehicle's primary color.
C# Syntax
void NAPI.Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);
Parameters
- vehicle: parameter input should be in Vehicle type
- color: parameter input should be in int type
Example
NAPI.NAPI.Vehicle.SetVehiclePrimaryColor(vehicle, 45);