VehicleClientNot in this build

setDeployMissileBays

_SET_DEPLOY_MISSILE_BAYS0x0C02468829E4AA65

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

SignatureJavaScript
setDeployMissileBays(vehicle: Vehicle, deploy: boolean): void
SignatureLua
setDeployMissileBays(vehicle: Vehicle, deploy: boolean)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setDeployMissileBays(vehicle, deploy);
Lua
setDeployMissileBays(vehicle, deploy)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
deployBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void _SET_DEPLOY_MISSILE_BAYS(Vehicle vehicle, BOOL deploy)
Hash
0x0C02468829E4AA65
Introduced
Game build 2944 legacy numbering

Open in the interactive natives reference