ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. removePlayerWaypoint

Function

removePlayerWaypoint

Server and clientBlipsTrilogy Hub only

Removes the player's GPS waypoint.

Syntax

Server

bool removePlayerWaypoint(player thePlayer)

Client

bool removePlayerWaypoint()

Arguments

thePlayerplayer
The player (server only).

Returns

On the server false if it knew of no waypoint for the player.

Example

addEventHandler("onPlayerWasted", root, function()
    removePlayerWaypoint(source)
end)

See also