VehicleClient

getVehicleCanDeployParachute

GET_VEHICLE_CAN_DEPLOY_PARACHUTE0xA916396DF4154EE3

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

SignatureJavaScript
getVehicleCanDeployParachute(vehicle: Vehicle): boolean
SignatureLua
getVehicleCanDeployParachute(vehicle: Vehicle): boolean

Usage

JavaScript
const result = getVehicleCanDeployParachute(vehicle);
Lua
local result = getVehicleCanDeployParachute(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL GET_VEHICLE_CAN_DEPLOY_PARACHUTE(Vehicle vehicle)
Hash
0xA916396DF4154EE3
Introduced
Game build 944 legacy numbering
Formerly
_CAN_VEHICLE_PARACHUTE_BE_ACTIVATED _GET_VEHICLE_CAN_ACTIVATE_PARACHUTE

Open in the interactive natives reference