SetVehicleMod

From GTA Network Wiki
Jump to: navigation, search

SetVehicleMod
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets a specific vehicle modification to a slot.

Syntax

NAPI.Vehicle.SetVehicleMod(Vehicle vehicle, int modType, int mod);

Required Arguments

  • vehicle: parameter input should be in Vehicle type.
  • modType: the type of mod to use, see Vehicle Mods for more info.
  • mod: parameter input should be in int type. There are 50 (0 - 49) mod types

Usage example

NAPI.Vehicle.SetVehicleMod(vehicle, 3, 2);

Changelog

Version Description
1.0 Release.

References