Skip to main content

Vehicle::setFrictionOverride

In the decompiled scripts are 2 occurencies of this method. One is in the 'country_race', setting the friction to 2, whereas in the 'trevor1'-file there are 4 values: 0.3, 0.35, 0.4 and 0.65. I couldn't really figure out any difference, but you might succeed. In that case, please edit this.

  • JulioNIB: Seems to be related to the metal parts, not tyres (like i was expecting lol)

Syntax

```js vehicle.setFrictionOverride(friction); ```

Required Arguments

  • friction: float

Return value

  • Undefined

Example

```js // todo ```

See also