isVehicleStuckOnRoof
IS_VEHICLE_STUCK_ON_ROOF0xB497F06B288DCFDFThe GTA V native IS_VEHICLE_STUCK_ON_ROOF of the VEHICLE namespace, as LS:MP client scripts call it: the global function isVehicleStuckOnRoof, in JavaScript and in Lua.
isVehicleStuckOnRoof(vehicle: Vehicle): booleanisVehicleStuckOnRoof(vehicle: Vehicle): booleanUsage
JavaScript
const result = isVehicleStuckOnRoof(vehicle);Lua
local result = isVehicleStuckOnRoof(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_STUCK_ON_ROOF(Vehicle vehicle)- Hash
0xB497F06B288DCFDF