IS_VEHICLE_WINDOW_INTACT
Returns true if window windowIndex of vehicle is intact.
Signature
BOOL IS_VEHICLE_WINDOW_INTACT(Vehicle vehicle, int windowIndex); // 0x0E7910A63E05B12C b1436Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | windowIndex | int |
Facts
| Name | IS_VEHICLE_WINDOW_INTACT |
|---|---|
| Hash | 0x0E7910A63E05B12C |
| Namespace | |
| Returns | BOOL |
| Game build | 1436 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x0E7910A63E05B12C, -- IS_VEHICLE_WINDOW_INTACT
0, -- Vehicle vehicle
0 -- int windowIndex
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x0E7910A63E05B12C", // IS_VEHICLE_WINDOW_INTACT
0, // Vehicle vehicle
0, // int windowIndex
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x0E7910A63E05B12C, // IS_VEHICLE_WINDOW_INTACT
0, // Vehicle vehicle
0 // int windowIndex
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.