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

Event

onClientWaypointRemove

ClientWorldTrilogy Hub only

The local player's GPS waypoint disappeared: removed on the map, by a script or the player arrived.

Handler

addEventHandler("onClientWaypointRemove", root, function(how) ... end)

Parameters

howstring
"map", "script" or "reached".

Source

source is the local player.

Example

addEventHandler("onClientWaypointRemove", localPlayer, function(how)
    if how == "reached" then outputChatBox("Jesteś na miejscu.") end
end)

See also