Änderung Pilot,Busfahrer und und und

This commit is contained in:
Mac_Slash
2020-05-04 22:21:07 +02:00
parent 643a9c6775
commit b61c57a2d1
8 changed files with 50 additions and 107 deletions

View File

@@ -83,7 +83,7 @@ export default function checkpointHandle(globalData: IGlobalData) {
function myTimer() {
if (useVehicle == true) {
if (Player.isInVehicle && Leaving == false) {
if (Player.vehicle) {
let dist = mp.game.gameplay.getDistanceBetweenCoords(Player.vehicle.position.x, Player.vehicle.position.y, 0, posCp.x, posCp.y, 0, false);
//mp.gui.chat.push("delay: " + delay + " | delayCounter: " + delayCounter);
@@ -121,7 +121,7 @@ export default function checkpointHandle(globalData: IGlobalData) {
} else if (dist > 2) {
inCheckpoint = false;
delayCounter = 0;
mp.gui.chat.push("Läuft.");
//mp.gui.chat.push("Läuft.");
}
}
else {