SetVehicleTrimColor: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function sets the vehicle trim color. The trim is the stitching inside the vehicle interior. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle....")
 
No edit summary
 
Line 1: Line 1:
This function sets the vehicle trim color. The trim is the stitching inside the vehicle interior.
This function sets the vehicle trim color. The trim is the stitching inside the vehicle interior.


 
{{CSharpContainer|
==Syntax==
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleTrimColor(Vehicle vehicle, int type);}}
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleTrimColor(Vehicle vehicle, int type);}}
=== Required Arguments ===
*'''vehicle:''' parameter input should be in '''Vehicle''' type
*'''type:''' 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 function sets the vehicle trim color. The trim is the stitching inside the vehicle interior.


C# Syntax

void NAPI.Vehicle.SetVehicleTrimColor(Vehicle vehicle, int type);

Parameters

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

Example

NAPI.Vehicle.SetVehicleTrimColor(vehicle, 56);