- Documentation
- Client events
- onClientPlayerMarkerLeave
Event
onClientPlayerMarkerLeave
A player left a marker, in this game. The source is the player.
Handler
addEventHandler("onClientPlayerMarkerLeave", root, function(markerLeft, matchingDimension) ... end)Parameters
markerLeftmarker- The marker.
matchingDimensionbool- Whether in the same dimension.
Source
source is the player.
Example
addEventHandler("onClientPlayerMarkerLeave", localPlayer, function(marker)
outputChatBox("Opuściłeś znacznik")
end)
See also
onClientPlayerMarkerHitA player entered a marker, in this game. The same asonClientMarkerHit, but the source is the player, so you can attach the handler tolocalPlayer.onClientMarkerLeaveAn element left a marker, in this game. It also happens when the element disappears or is moved out of the marker.