SetVehiclePearlescentColor: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function sets the vehicle's pearlescent color. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePearlescentColor(Vehicle vehicle, int...")
 
No edit summary
 
Line 1: Line 1:
This function sets the vehicle's pearlescent color.
This function sets the vehicle's pearlescent color.


==Syntax==
{{CSharpContainer|
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePearlescentColor(Vehicle vehicle, int color);}}
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePearlescentColor(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:04, 27 November 2019

This function sets the vehicle's pearlescent color.


C# Syntax

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

Parameters

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

Example

NAPI.Vehicle.SetVehiclePearlescentColor(vehicle, 45);