Checkpoint::destination

From RAGE Multiplayer Wiki
Revision as of 11:18, 8 October 2017 by Kemperrr (talk | contribs) (Created page with "This property is used to set or retrieve the direction of the checkpoint. ==Getter== * '''<span style="color:#008017">Vector3</span>''' ==Setter== * '''<span style="color:#00...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property is used to set or retrieve the direction of the checkpoint.

Getter

  • Vector3

Setter

  • Vector3

Example

Server-Side
const destination = checkpoint.destination; // get checkpoint destination
console.log(destination);

checkpoint.destination = new mp.Vector3(10, 10, 10); // set checkpoint destination

See Also