VehicleClientNot in this build

isVehicleOnBoostPad

_IS_VEHICLE_ON_BOOST_PAD0x71C6302CBCA6CA35

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

SignatureJavaScript
isVehicleOnBoostPad(vehicle: Vehicle): boolean
SignatureLua
isVehicleOnBoostPad(vehicle: Vehicle): boolean
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL _IS_VEHICLE_ON_BOOST_PAD(Vehicle vehicle)
Hash
0x71C6302CBCA6CA35
Introduced
Game build 3407 legacy numbering

Open in the interactive natives reference