- Documentation
- Shared functions
- getZoneCount
Function
getZoneCount
Returns the number of zone (district) rectangles and region rectangles in the map data.
Syntax
int, int getZoneCount()Returns
Number of zone rectangles and region rectangles.
Example
local zones, cities = getZoneCount()
outputDebugString(zones .. " stref, " .. cities .. " regionow")