Перейти к содержанию

Checkpoint::destination

Материал из RAGE MP Wiki Archive
Версия от 16:48, 17 мая 2019; imported>RoboN1X
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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