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

Event

onElementColShapeLeave

ServerCollision shapesIdentical to MTA:SA

An element left a collision shape (the version from the element side).

Handler

addEventHandler("onElementColShapeLeave", root, function(theShape, matchingDimension) ... end)

Parameters

theShapecolshape
The shape.
matchingDimensionbool
Whether in the same dimension.

Source

source is the element.

Example

addEventHandler("onElementColShapeLeave", root, function()
    if getElementType(source) == "vehicle" then setElementData(source, "wStrefie", false) end
end)

See also