VehicleClient

setDeployFoldingWings

SET_DEPLOY_FOLDING_WINGS0xB251E0B33E58B424

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

SignatureJavaScript
setDeployFoldingWings(vehicle: Vehicle, deploy: boolean, p2: boolean): void
SignatureLua
setDeployFoldingWings(vehicle: Vehicle, deploy: boolean, p2: boolean)

Usage

JavaScript
setDeployFoldingWings(vehicle, deploy, p2);
Lua
setDeployFoldingWings(vehicle, deploy, p2)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
deployBOOLbooleanboolean
p2BOOLbooleanboolean

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.

Only used with the "akula" and "annihilator2" in the decompiled native scripts.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_DEPLOY_FOLDING_WINGS(Vehicle vehicle, BOOL deploy, BOOL p2)
Hash
0xB251E0B33E58B424
Introduced
Game build 1290 legacy numbering
Formerly
_SET_DEPLOY_HELI_STUB_WINGS

Open in the interactive natives reference