Checkpoint::destination
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.
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