areAllVehicleWindowsIntact
ARE_ALL_VEHICLE_WINDOWS_INTACT0x11D862A3E977A9EFThe GTA V native ARE_ALL_VEHICLE_WINDOWS_INTACT of the VEHICLE namespace, as LS:MP client scripts call it: the global function areAllVehicleWindowsIntact, in JavaScript and in Lua.
areAllVehicleWindowsIntact(vehicle: Vehicle): booleanareAllVehicleWindowsIntact(vehicle: Vehicle): booleanUsage
JavaScript
const result = areAllVehicleWindowsIntact(vehicle);Lua
local result = areAllVehicleWindowsIntact(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Appears to return false if any window is broken.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL ARE_ALL_VEHICLE_WINDOWS_INTACT(Vehicle vehicle)- Hash
0x11D862A3E977A9EF- Formerly
_ARE_ALL_VEHICLE_WINDOWS_INTACT