SetVehicleEnginePowerMultiplier

From RAGE Multiplayer Wiki
Revision as of 21:36, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it. {{CSharpContainer| {{#tag:pre|void {{Templat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


C# Syntax

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);