CheckpointZeit angepasst, Türfehler angepasst

This commit is contained in:
Mac_Slash
2020-04-30 13:15:33 +02:00
parent 51fdc16a6f
commit ec25d1c476
4 changed files with 35 additions and 3 deletions

View File

@@ -77,6 +77,7 @@ export default function checkpointHandle(globalData: IGlobalData) {
}
mp.game.audio.playSoundFrontend(1, "Beep_Red", "DLC_HEIST_HACKING_SNAKE_SOUNDS", true);
mp.events.callRemote("playerWaitsInCheckpoint");
mp.players.local.freezePosition(true);
}
inCheckpoint = true;
@@ -87,6 +88,7 @@ export default function checkpointHandle(globalData: IGlobalData) {
activeCheckpoint = null;
clearInterval(myVar);
mp.events.callRemote("playerInCheckpoint");
mp.players.local.freezePosition(false);
if (event != "") {
while (checkPointsDone > 10000) {
@@ -94,7 +96,7 @@ export default function checkpointHandle(globalData: IGlobalData) {
mp.events.callRemote(event, checkPointsDone);
}
} else {
delayCounter += 100;
delayCounter += 50;
}
} else if (dist > 2) {
inCheckpoint = false;