SetVehicleAntiRollBarForce

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

Sets the spring constant that is transmitted to the opposite wheel when under compression larger numbers are a larger force. Larger Numbers = less body roll

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.setVehicleAntiRollBarForce(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.setVehicleAntiRollBarForce(int vehicleHash, double value);

References