setDriftSlipAngleLimits
_SET_DRIFT_SLIP_ANGLE_LIMITS0xDAF4C98C18AC6F06The GTA V native _SET_DRIFT_SLIP_ANGLE_LIMITS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setDriftSlipAngleLimits, in JavaScript and in Lua.
setDriftSlipAngleLimits(
vehicle: Vehicle,
durationScalar: number,
amplitudeScalar: number,
slipAngleLimit: number
): voidsetDriftSlipAngleLimits(
vehicle: Vehicle,
durationScalar: number,
amplitudeScalar: number,
slipAngleLimit: number
)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
setDriftSlipAngleLimits(vehicle, durationScalar, amplitudeScalar, slipAngleLimit);Lua
setDriftSlipAngleLimits(vehicle, durationScalar, amplitudeScalar, slipAngleLimit)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
durationScalar | float | number | number |
amplitudeScalar | float | number | number |
slipAngleLimit | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
First two floats relate to rumble, the last is a threshold
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void _SET_DRIFT_SLIP_ANGLE_LIMITS(Vehicle vehicle, float durationScalar, float amplitudeScalar, float slipAngleLimit)- Hash
0xDAF4C98C18AC6F06- Introduced
- Game build 3095 legacy numbering