Skip to main content

IS_VEH_WINDOW_INTACT

Game.IsVehWindowIntactHash0x1D0B131A
Usage
local isVehWindowIntact = Game.IsVehWindowIntact(carIndex, windowNumber)

Returns true if a window exists and is not smashed, false otherwise.

Parameters

  • carIndexintegerint
  • windowNumberintegerint

Returns

  • isVehWindowIntactbooleanreturn value
Original declaration
// 0x1D0B131A
bool IS_VEH_WINDOW_INTACT(int carIndex, int windowNumber);