Checkpoint::destination: Difference between revisions
m (Replaced HTML with template) |
m (category) |
||
| Line 16: | Line 16: | ||
}} | }} | ||
[[Category:Checkpoint]] | |||
[[Category:Server-side Property]] | |||
Revision as of 11:23, 30 April 2019
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