getBuildings

Revision as of 23:54, 11 June 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

array getBuildings(void)

The getBuildings function is used to fetch all building handles.

Parameters

void This function doesn't take any parameters.

Return

array An array of all buildings with syntax array<int index, Building building>.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

      getBuildingCount
      getBuildings
      gta.createBuilding
      gta.swapNearestBuildingModel
      gta.undoBuildingSwaps