BreakVehicleDoor

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

This function breaks the vehicle door.

Syntax

In C#
Server-Side Function

API.breakVehicleDoor(NetHandle vehicle, int door, bool breakDoor);
  • vehicle: parameter input should be in NetHandle type.
  • door: parameter input should be in int type.
  • breakDoor: parameter input should be in bool type.

In Javascript
Client-Side Function

API.breakVehicleDoor(LocalHandle vehicle, int door, bool breakDoor);
  • vehicle: parameter input should be in LocalHandle type.
  • door: parameter input should be in int type.
  • breakDoor: parameter input should be in bool type.

Usage example(s)

API.breakVehicleDoor(NetHandle vehicle, int door, bool breakDoor);

References