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

SetVehicleEnginePowerMultiplier

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

This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it.


void NAPI.Vehicle.SetVehicleEnginePowerMultiplier(Vehicle vehicle, float mult);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • mult: parameter input should be in float type

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleEnginePowerMultiplier(vehicle, 5.0f); </syntaxhighlight>