[+] Add Bikes to Driving School

//Driving School finished
This commit is contained in:
Lukas Moungos
2019-11-01 21:47:08 +01:00
parent 6947fcbc4e
commit 93e672549b
9 changed files with 1563 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ export default function drivingSchoolHandle(globalData: GlobalData) {
timerCheckpoint = setInterval(timerWaitHere, 100);
});
mp.events.add('checkWait', () => {
if (waitFinished == false) {
mp.gui.chat.push("Du hast an der letzten Kreuzung nicht gewartet");
@@ -114,7 +114,7 @@ export default function drivingSchoolHandle(globalData: GlobalData) {
}
};
function timerPlayerInVehicle() {
if (timerSet) {
mp.events.callRemote('timerCheckVehicle');
@@ -125,6 +125,6 @@ export default function drivingSchoolHandle(globalData: GlobalData) {
if (globalData.InChat || globalData.InInput || globalData.InMenu) return;
mp.events.call('removeDrivingSchoolMenu', false);
mp.events.callRemote('startDrivingSchool');
mp.events.call('showDrivingSchoolSelector');
}
}