The Lab
VEHICLE native

IS_VEHICLE_WINDOW_INTACT

returns BOOL2 paramsbuild 1436

Returns true if window windowIndex of vehicle is intact.

Signature

C
BOOL IS_VEHICLE_WINDOW_INTACT(Vehicle vehicle, int windowIndex); // 0x0E7910A63E05B12C b1436

Parameters

#NameType
1vehicleVehicle
2windowIndexint

Facts

Facts about IS_VEHICLE_WINDOW_INTACT
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.

Lua
local result = Citizen.InvokeNative(0x0E7910A63E05B12C, -- IS_VEHICLE_WINDOW_INTACT
  0, -- Vehicle vehicle
  0 -- int windowIndex
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x0E7910A63E05B12C", // IS_VEHICLE_WINDOW_INTACT
  0, // Vehicle vehicle
  0, // int windowIndex
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x0E7910A63E05B12C, // IS_VEHICLE_WINDOW_INTACT
  0, // Vehicle vehicle
  0 // int windowIndex
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.