SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Zdarzenia klienta
  3. onClientElementColShapeHit

Zdarzenie

onClientElementColShapeHit

KlientStrefy kolizjiIdentyczne z MTA:SA

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)

Zobacz też