SetVehicleEngineTorqueMultiplier

From GTA Network Wiki
Jump to: navigation, search

SetVehicleEngineTorqueMultiplier
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

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

Syntax

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

Required Arguments

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

Usage example(s)

Example Description

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

Changelog

Version Description
1.0 Release.

References