CBA_fnc_getNearestBuilding

Description

Find the nearest building and number of building positions available.

Parameters

_position<OBJECT, POSITION>

Example

_array = player call CBA_fnc_getNearestBuilding

Returns

Array with [building object, building positions (count)]

Author

Rommel

Close