IsRegionUp
Whether a level of this server is running.
false from OnRegionDown until OnRegionUp, or for good when the level keeps going down. A name that is no level of this server answers true.
Syntax
Section titled “Syntax”IsRegionUp(region)| Parameter | Type | |
|---|---|---|
region |
string | the level |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not IsRegionUp("trosecko") then SendClientMessage(pid, COLOR_RED, "Trosky is unavailable.") return true endSee also
Section titled “See also”OnRegionDown · OnRegionUp · SendPlayerToRegion · the Regions group of the index
