Перейти к содержанию

SetVehicleMod

Материал из RAGE MP Wiki Archive
Версия от 21:21, 27 ноября 2019; imported>Avoid (Created page with "Sets a specific vehicle modification to a slot. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleMod(Vehicle vehicle, int modType,...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Sets a specific vehicle modification to a slot.


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

Parameters

  • vehicle: parameter input should be in Vehicle type
  • modType: parameter input should be in int type
  • mod: parameter input should be in int type There are 50 (0 - 49) mod types

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleMod(vehicle, 3, 2); </syntaxhighlight>