SetVehicleDriveBiasFront

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

Sets the value used to determine whether a vehicle is front, rear, or four wheel drive.

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.setVehicleDriveBiasFront(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.
    • 0.0 is rear wheel drive, 1.0 is front wheel drive, and any value between 0.01 and 0.99 is four wheel drive (0.5 give both front and rear axles equal force, being perfect 4WD.)

Usage example

In Javascript
Client-Side Function

API.setVehicleDriveBiasFront(int vehicleHash, double value);

References