- Dokumentacja
- Zdarzenia klienta
- onClientElementColShapeHit
Zdarzenie
onClientElementColShapeHit
Element wszedł do strefy kolizji (wersja od strony elementu, u klienta).
Obsługa
addEventHandler("onClientElementColShapeHit", root, function(theShape, matchingDimension) ... end)Parametry
theShapecolshape- Strefa.
matchingDimensionbool- Czy w tym samym wymiarze.
Źródło
source to element.
Przykład
addEventHandler("onClientElementColShapeHit", localPlayer, function(shape)
if getElementData(shape, "strefa") then outputChatBox("Wszedłeś do strefy") end
end)