GetBuilding (Harvest)
From OxeyeWiki
getBuilding(id) | ||
Fetches a building, or nil if the building doesn't exist. | ||
Parameter | Expected Type | Description |
id | Number | The id of the building to retrieve the building for. |
Returns | ||
Returns the building of a given id. |
Example
local building = harvest.getBuilding(id)