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



Introduced in

Version:1.00

Description

Description:Returns the number of empty positions of the given position type in a vehicle.

Syntax

Syntax:vehicle emptyPositions position
Parameters:
  • vehicle: Object - The vehicle.
  • position: String - Position type to look for. Can be "Commander", "Driver", "Gunner" or "Cargo".
Return Value:Number - Number of empty positions available.

Examples

Examples:
_freePositions = (vehicle player) emptyPositions "cargo"

Additional Information

See also: fn vbs findCargoPos
Multiplayer: 
Problems: 

Notes