VehicleClient

setVehicleReduceGrip

SET_VEHICLE_REDUCE_GRIP0x222FF6A823D122E2

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
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.

Reduces grip significantly so it's hard to go anywhere.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_REDUCE_GRIP(Vehicle vehicle, BOOL toggle)
Hash
0x222FF6A823D122E2

Open in the interactive natives reference