VehicleClient

doesVehicleAllowRappel

DOES_VEHICLE_ALLOW_RAPPEL0x4E417C547182C84D

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns true if the vehicle has the FLAG_ALLOWS_RAPPEL flag set.

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL DOES_VEHICLE_ALLOW_RAPPEL(Vehicle vehicle)
Hash
0x4E417C547182C84D
Introduced
Game build 757 legacy numbering
Formerly
_DOES_VEHICLE_ALLOW_RAPPEL

Open in the interactive natives reference