VehicleClient

setGliderActive

SET_GLIDER_ACTIVE0x544996C0081ABDEB

The 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.

SignatureJavaScript
setGliderActive(vehicle: Vehicle, state: boolean): void
SignatureLua
setGliderActive(vehicle: Vehicle, state: boolean)

Usage

JavaScript
setGliderActive(vehicle, state);
Lua
setGliderActive(vehicle, state)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
stateBOOLbooleanboolean

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

Open in the interactive natives reference