ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientColShapeLeave

Event

onClientColShapeLeave

ClientCollision shapesIdentical to MTA:SA

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)

See also