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

Event

onClientMarkerLeave

ClientBrowserIdentical to MTA:SA

An element left a marker, in this game. It also happens when the element disappears or is moved out of the marker.

Handler

addEventHandler("onClientMarkerLeave", root, function(leftElement, matchingDimension) ... end)

Parameters

leftElementelement
The element that left.
matchingDimensionbool
Whether in the same dimension.

Source

source is the marker.

Example

addEventHandler("onClientMarkerLeave", root, function(el)
    if el == localPlayer then outputChatBox("Wyszedłeś ze znacznika") end
end)

See also