Skip to main content

PlayerRemoveWaypoint

Client-side event

Triggered when a player removes a waypoint from the map.

C#​

public delegate void OnPlayerRemoveWaypointDelegate();

Example​

The example below shows up a message for a player when waypoint is removed.

RAGE.Events.OnPlayerRemoveWaypoint += OnWaypointRemoved;
public void OnWaypointRemoved()
{
RAGE.Chat.Output($"You have just removed the waypoint");
}

Examples​

Client-Side

mp.events.add("playerRemoveWaypoint", () => {
mp.console.logInfo(`Waypoint removed`);
});