getBuildings: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page GetBuildings to getBuildings) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ScriptItem2 | |||
|name = getBuildings | |||
|side = client | |||
|type = function | |||
|games = iii vc sa iv | |||
|desc = fetch all building handles | |||
|return = array an array of all buildings with syntax <code>array<int index, Building building></code> | |||
|freturn = array [] | |||
}} |
Latest revision as of 20:36, 19 November 2022
Function
Client Only
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