SetVehicleInitialDriveForce

From GT-MP
Jump to: navigation, search
SetVehicleInitialDriveForce
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets the multiplier modifies the game's calculation of drive force (from the output of the transmission).

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.
Dialog-warning.png All vehicle handling data changes get resetted on disconnect.

Syntax

In Javascript
Client-Side Function

API.setVehicleInitialDriveForce(int vehicleHash, double value);

Required Arguments

  • vehicleHash parameter input should be in int type. See Vehicle Models.
  • value parameter input should be in double type.

Usage example

In Javascript
Client-Side Function

API.setVehicleInitialDriveForce(int vehicleHash, double value);

References