OnRegionDown
Another level of this server went down.
Its players are already on their way to the main level, and SendPlayerToRegion refuses trips there until OnRegionUp. "stalled" means it was stuck, "crashed" that it threw.
Syntax
Section titled “Syntax”function OnRegionDown(region, reason) -- ...end| Parameter | Type | |
|---|---|---|
region |
string | the level |
reason |
string | "crashed" or "stalled" |
Example
Section titled “Example”function OnRegionDown(region, reason) SendClientMessageToAll(COLOR_RED, GetLevelName(region) .. " is unavailable for now.")endSee also
Section titled “See also”OnRegionUp · IsRegionUp · OnPlayerArrive · the Regions group of the index
