getCarHasJump
GET_CAR_HAS_JUMP0x9078C0C5EF8C19E9The GTA V native GET_CAR_HAS_JUMP of the VEHICLE namespace, as LS:MP client scripts call it: the global function getCarHasJump, in JavaScript and in Lua.
getCarHasJump(vehicle: Vehicle): booleangetCarHasJump(vehicle: Vehicle): booleanUsage
JavaScript
const result = getCarHasJump(vehicle);Lua
local result = getCarHasJump(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_JUMPING_CAR flag set.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL GET_CAR_HAS_JUMP(Vehicle vehicle)- Hash
0x9078C0C5EF8C19E9- Introduced
- Game build 944 legacy numbering
- Formerly
_HAS_VEHICLE_JUMPING_ABILITY_DOES_VEHICLE_HAVE_JUMPING_ABILITY_GET_CAN_VEHICLE_JUMP