IS_VEHICLE_WINDOW_INTACT
Hash
0x0E7910A63E05B12CRuntime name
IsVehicleWindowIntactNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1436
GTA V hash
0x46E571A0E20D01F1Signature
BOOL IS_VEHICLE_WINDOW_INTACT(Vehicle vehicle, int windowIndex);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
windowIndex | int | — |
Returns BOOL
Usage
local retval = IsVehicleWindowIntact(vehicle, windowIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0x0E7910A63E05B12C, vehicle, windowIndex, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsVehicleWindowIntact(vehicle, windowIndex);
// by hash
const retval = Citizen.invokeNative('0x0E7910A63E05B12C', vehicle, windowIndex, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x0E7910A63E05B12C, vehicle, windowIndex);Enums and flags
- eWindowId 9 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.