VehicleClient

setEnableVehicleSlipstreaming

SET_ENABLE_VEHICLE_SLIPSTREAMING0xE6C0C80B8C867537

The GTA V native SET_ENABLE_VEHICLE_SLIPSTREAMING of the VEHICLE namespace, as LS:MP client scripts call it: the global function setEnableVehicleSlipstreaming, in JavaScript and in Lua.

SignatureJavaScript
setEnableVehicleSlipstreaming(toggle: boolean): void
SignatureLua
setEnableVehicleSlipstreaming(toggle: boolean)

Usage

JavaScript
setEnableVehicleSlipstreaming(toggle);
Lua
setEnableVehicleSlipstreaming(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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.

Enable/Disables global slipstream physics

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_ENABLE_VEHICLE_SLIPSTREAMING(BOOL toggle)
Hash
0xE6C0C80B8C867537

Open in the interactive natives reference