VehicleClient

setWheelieEnabled

SET_WHEELIE_ENABLED0x1312DDD8385AEE4E

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

SignatureJavaScript
setWheelieEnabled(vehicle: Vehicle, enabled: boolean): void
SignatureLua
setWheelieEnabled(vehicle: Vehicle, enabled: boolean)

Usage

JavaScript
setWheelieEnabled(vehicle, enabled);
Lua
setWheelieEnabled(vehicle, enabled)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
enabledBOOLbooleanboolean

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.

Enables/disables the ability to wheelie on motorcycles.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_WHEELIE_ENABLED(Vehicle vehicle, BOOL enabled)
Hash
0x1312DDD8385AEE4E
Introduced
Game build 1103 legacy numbering

Open in the interactive natives reference