VehicleClient

getCarHasJump

GET_CAR_HAS_JUMP0x9078C0C5EF8C19E9

The 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.

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

Usage

JavaScript
const result = getCarHasJump(vehicle);
Lua
local result = getCarHasJump(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_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

Open in the interactive natives reference