BreakVehicleWindow

From GT-MP
Jump to: navigation, search
BreakVehicleWindow
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

This function breaks the vehicle window.


Syntax

API.breakVehicleWindow(NetHandle vehicle, int window, bool breakWindow);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.
  • window: parameter input should be in int type.
  • breakWindow: parameter input should be in bool type.

Usage example(s)

Example Description

API.breakVehicleWindow(NetHandle vehicle, int window, bool breakWindow);


References