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

SetVehicleMod

Материал из RAGE MP Wiki Archive

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>