Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.47

Description

Description:Returns list of seats that were blocked by setBlockedSeat.

Syntax

Syntax:getBlockedSeats vehicle
Parameters:
  • vehicle: Object - Vehicle to check.
Return Value:Array - Nested array with [seat, index] elements indicating the seats that are blocked.

Examples

Examples:
_blocked = getBlockedSeats veh1
// May return: [["Driver",0],["Turret",[0,1]],["Cargo",1]]

Additional Information

See also: setBlockedSeat, locked, getCrewPos
Multiplayer: 
Problems: 

Notes