doesVehicleAllowRappel
DOES_VEHICLE_ALLOW_RAPPEL0x4E417C547182C84DThe 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.
doesVehicleAllowRappel(vehicle: Vehicle): booleandoesVehicleAllowRappel(vehicle: Vehicle): booleanUsage
JavaScript
const result = doesVehicleAllowRappel(vehicle);Lua
local result = doesVehicleAllowRappel(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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