PlayerCreateWaypoint: Difference between revisions
(Fixes params) |
No edit summary |
||
| Line 1: | Line 1: | ||
Event triggered when a player creates a waypoint in the map. | Event triggered when a player creates a waypoint in the map. Please note that this is clientside. | ||
==Parameters== | ==Parameters== | ||
Revision as of 07:47, 20 May 2020
Event triggered when a player creates a waypoint in the map. Please note that this is clientside.
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}`);
});