PlayerCreateWaypoint
Event triggered when a player creates a waypoint in the map.
Parameters
- position: Vector3 position of the waypoint
Example
mp.events.add("playerCreateWaypoint", (position) => {
mp.console.logInfo(`New waypoint created at: ${position.x}, ${position.y}, ${position.z}`);
});