SetVehicleWheelColor: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This sets the color of a vehicle wheels. This uses the normal vehicle colors. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleWheelColor(...")
 
No edit summary
 
Line 1: Line 1:
This sets the color of a vehicle wheels. This uses the normal vehicle colors.
This sets the color of a vehicle wheels. This uses the normal vehicle colors.


==Syntax==
{{CSharpContainer|
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleWheelColor(Vehicle vehicle, int color);}}
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleWheelColor(Vehicle vehicle, int color);}}
=== Required Arguments ===
*'''vehicle:''' parameter input should be in '''Vehicle ''' type
*'''color:''' parameter input should be in '''int''' type
==Example==
{{CSharpContainer|
{{Parameters}}
{{Parameters}}
*'''vehicle:''' parameter input should be in '''Vehicle ''' type
*'''vehicle:''' parameter input should be in '''Vehicle ''' type

Latest revision as of 21:02, 27 November 2019

This sets the color of a vehicle wheels. This uses the normal vehicle colors.


C# Syntax

void NAPI.Vehicle.SetVehicleWheelColor(Vehicle vehicle, int color);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • color: parameter input should be in int type

Example

NAPI.Vehicle.SetVehicleWheelColor(vehicle, 45)