- Documentation
- Server events
- onElementColShapeLeave
Event
onElementColShapeLeave
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)