isVehicleBumperBrokenOff
IS_VEHICLE_BUMPER_BROKEN_OFF0x468056A6BB6F3846The GTA V native IS_VEHICLE_BUMPER_BROKEN_OFF of the VEHICLE namespace, as LS:MP client scripts call it: the global function isVehicleBumperBrokenOff, in JavaScript and in Lua.
isVehicleBumperBrokenOff(vehicle: Vehicle, frontBumper: boolean): booleanisVehicleBumperBrokenOff(vehicle: Vehicle, frontBumper: boolean): booleanUsage
JavaScript
const result = isVehicleBumperBrokenOff(vehicle, frontBumper);Lua
local result = isVehicleBumperBrokenOff(vehicle, frontBumper)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
frontBumper | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_VEHICLE_BUMPER_BROKEN_OFF(Vehicle vehicle, BOOL frontBumper)- Hash
0x468056A6BB6F3846