isVehicleOnBoostPad
_IS_VEHICLE_ON_BOOST_PAD0x71C6302CBCA6CA35The 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.
isVehicleOnBoostPad(vehicle: Vehicle): booleanisVehicleOnBoostPad(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL _IS_VEHICLE_ON_BOOST_PAD(Vehicle vehicle)- Hash
0x71C6302CBCA6CA35- Introduced
- Game build 3407 legacy numbering