setWheelieEnabled
SET_WHEELIE_ENABLED0x1312DDD8385AEE4EThe 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.
setWheelieEnabled(vehicle: Vehicle, enabled: boolean): voidsetWheelieEnabled(vehicle: Vehicle, enabled: boolean)Usage
JavaScript
setWheelieEnabled(vehicle, enabled);Lua
setWheelieEnabled(vehicle, enabled)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
enabled | BOOL | boolean | boolean |
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