GetVehicleLocked

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

Get`s lock status for vehicle.

Syntax

API.getVehicleLocked(NetHandle vehicle);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.

NOTE: This function returns data in bool type.

Usage example(s)

Serverside example

bool isLocked = API.getVehicleLocked(vehicle);

Clientside example

var isLocked = API.getVehicleLocked(vehicle);

References