GetVehicleMod: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Returns vehicle's tires smoke color in Color. {{CSharpContainer| {{#tag:pre|int {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleMod(Vehicle vehicle, int slot);}} {{...")
 
No edit summary
Line 1: Line 1:
Returns vehicle's tires smoke color in Color.
Returns the vehicle's mod.


{{CSharpContainer|
{{CSharpContainer|

Revision as of 11:07, 28 November 2019

Returns the vehicle's mod.


C# Syntax

int NAPI.Vehicle.GetVehicleMod(Vehicle vehicle, int slot);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the color in int type.

Example

NAPI.Vehicle.GetVehicleMod(vehicle, slot);