- Documentation
- Client events
- onClientWaypointRemove
Event
onClientWaypointRemove
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)