added new bus route

This commit is contained in:
2019-09-16 15:20:15 +02:00
parent b3d3d4550d
commit e075ece48a
2 changed files with 22 additions and 1 deletions

View File

@@ -34,10 +34,10 @@ export default function checkpointHandle(globalData: GlobalData) {
let dist = mp.game.gameplay.getDistanceBetweenCoords(Player.position.x, Player.position.y, 0, posCp.x, posCp.y, 0, false);
//mp.gui.chat.push("delay: " + delay + " | delayCounter: " + delayCounter);
if (dist <= 2) {
mp.game.audio.playSoundFrontend(1, "Beep_Red", "DLC_HEIST_HACKING_SNAKE_SOUNDS", true);
if (!inCheckpoint) {
mp.gui.chat.push("Warte nun " + delay / 1000 + " Sekunden");
mp.game.audio.playSoundFrontend(1, "Beep_Red", "DLC_HEIST_HACKING_SNAKE_SOUNDS", true);
}
inCheckpoint = true;