setGliderActive
SET_GLIDER_ACTIVE0x544996C0081ABDEBThe GTA V native SET_GLIDER_ACTIVE of the VEHICLE namespace, as LS:MP client scripts call it: the global function setGliderActive, in JavaScript and in Lua.
setGliderActive(vehicle: Vehicle, state: boolean): voidsetGliderActive(vehicle: Vehicle, state: boolean)Usage
JavaScript
setGliderActive(vehicle, state);Lua
setGliderActive(vehicle, state)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
state | 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.
Set state to true to extend the wings, false to retract them.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_GLIDER_ACTIVE(Vehicle vehicle, BOOL state)- Hash
0x544996C0081ABDEB- Introduced
- Game build 1103 legacy numbering
- Formerly
_SET_OPPRESSOR_TRANSFORM_STATE