PlayerRemoveWaypoint
Client-Side Event
Triggered when a player removes a waypoint from the map.
C# Syntax
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");
}
JavaScript Syntax
Examples
Client-Side
mp.events.add("playerRemoveWaypoint", () => {
mp.console.logInfo(`Waypoint removed`);
});
See Also
Browser
Checkpoints
Colshapes
Console
Common
- click
- playerChat
- playerCommand
- playerDeath
- playerJoin
- playerQuit
- playerReady
- playerResurrect
- playerRuleTriggered
- playerSpawn
- playerWeaponShot
- addDataHandler
- dummyEntityCreated
- dummyEntityDestroyed
- entityControllerChange
- replayEditorRequest
- pauseMenuItemSelect
- pauseMenuItemChange