VehicleClient

setDriftTyres

SET_DRIFT_TYRES0x5AC79C98C5C17F05

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

SignatureJavaScript
setDriftTyres(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setDriftTyres(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
setDriftTyres(vehicle, toggle);
Lua
setDriftTyres(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_DRIFT_TYRES(Vehicle vehicle, BOOL toggle)
Hash
0x5AC79C98C5C17F05
Introduced
Game build 2372 legacy numbering
Formerly
_SET_DRIFT_TYRES_ENABLED

Open in the interactive natives reference