SetVehicleEngineTorqueMultiplier

From RAGE Multiplayer Wiki
Revision as of 21:33, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the engine torque multiplier of a vehicle. It activates when a player enters and starts driving the vehicle. {{CSharpContainer| {{#tag:pre|void {{Template:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function sets the engine torque multiplier of a vehicle. It activates when a player enters and starts driving the vehicle.


C# Syntax

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

Parameters

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

Example

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