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

Zdarzenie

onClientColShapeLeave

KlientStrefy kolizjiIdentyczne z MTA:SA

Element wyszedł ze strefy stworzonej u klienta.

Obsługa

addEventHandler("onClientColShapeLeave", root, function(theElement, matchingDimension) ... end)

Parametry

theElementelement
Element.
matchingDimensionbool
Zawsze true.

Źródło

source to strefa.

Przykład

local zone = createColSphere(2495, -1687, 13.5, 10)
addEventHandler("onClientColShapeLeave", zone, function(el)
    if el == localPlayer then outputChatBox("Odchodzisz od domu") end
end)

Zobacz też