ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server events
  3. onColShapeLeave

Event

onColShapeLeave

ServerCollision shapesIdentical to MTA:SA

An element left a collision shape.

Handler

addEventHandler("onColShapeLeave", root, function(leaveElement, matchingDimension) ... end)

Parameters

leaveElementelement
The element.
matchingDimensionbool
Whether in the same dimension.

Source

source is the shape.

Example

addEventHandler("onColShapeLeave", zone, function(el)
    if getElementType(el) == "player" then outputChatBox("Opuszczasz Grove Street", el) end
end)

See also