Änderung Pilot,Busfahrer und und und
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user