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

Event

onClientElementColShapeLeave

ClientCollision shapesIdentical to MTA:SA

An element left a collision shape (the element-side version, on the client).

Handler

addEventHandler("onClientElementColShapeLeave", root, function(theShape, matchingDimension) ... end)

Parameters

theShapecolshape
The shape.
matchingDimensionbool
Whether in the same dimension.

Source

source is the element.

Example

addEventHandler("onClientElementColShapeLeave", localPlayer, function()
    outputChatBox("Wyszedłeś ze strefy")
end)

See also