Skip to content

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.

function OnRegionDown(region, reason)
-- ...
end
Parameter Type
region string the level
reason string "crashed" or "stalled"
function OnRegionDown(region, reason)
SendClientMessageToAll(COLOR_RED, GetLevelName(region) .. " is unavailable for now.")
end

OnRegionUp · IsRegionUp · OnPlayerArrive · the Regions group of the index