Skip to main content

SetVehicleEnginePowerMultiplier

This feature is currently not implemented server-side.

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

C#​

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​

NAPI.Vehicle.SetVehicleEnginePowerMultiplier(vehicle, 5.0f);