PlayerCreateWaypoint: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
m (category)
Line 13: Line 13:
});
});
</syntaxhighlight>
</syntaxhighlight>
[[Category:Waypoint]]
[[Category:Server-side Event]]
[[Category:Client-side Event]]

Revision as of 12:36, 30 April 2019

DOES NOT SEEM TO WORK IN CURRENT 0.3.7 VERSION

Event triggered when a player creates a waypoint

Parameters

  • player
  • position, Vector3 position of the waypoint

Example

mp.events.add("playerCreateWaypoint", (player, position) => {
 // Do what you want.
});