Skip to content

GetZoneData

A value stored on a zone with SetZoneData.

GetZoneData(id, key)
Parameter Type
id number the zone
key string the key

any - the value; nil when unset or no such zone

if GetZoneData(zone, "safe") then return false end

SetZoneData · the Zones group of the index