Warning: file_put_contents(/ff_508b98f587b02549a8aef561aa5707383641bbf23c99ff99.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
emptyPositions - OFPEC Scripting Command Reference | OFPEC The Editing Center

vehicle emptyPositions position

Operand types

vehicle : Object
position: String

Type of returned value

Description

Returns the number of available cargo, driver, gunner or commander positions in the vehicle.

Used In

ArmA

Example

_freePositions = (vehicle player) emptyPositions "cargo"

Advertisement