- Dokumentacja
- Zdarzenia serwera
- onColShapeLeave
Zdarzenie
onColShapeLeave
Element wyszedł ze strefy kolizji.
Obsługa
addEventHandler("onColShapeLeave", root, function(leaveElement, matchingDimension) ... end)Parametry
leaveElementelement- Element.
matchingDimensionbool- Czy w tym samym wymiarze.
Źródło
source to strefa.
Przykład
addEventHandler("onColShapeLeave", zone, function(el)
if getElementType(el) == "player" then outputChatBox("Opuszczasz Grove Street", el) end
end)