- Documentation
- Client events
- onClientColShapeLeave
Event
onClientColShapeLeave
An element left a client-created shape.
Handler
addEventHandler("onClientColShapeLeave", root, function(theElement, matchingDimension) ... end)Parameters
theElementelement- The element.
matchingDimensionbool- Always
true.
Source
source is the shape.
Example
local zone = createColSphere(2495, -1687, 13.5, 10)
addEventHandler("onClientColShapeLeave", zone, function(el)
if el == localPlayer then outputChatBox("Odchodzisz od domu") end
end)