[+] Add Bikes to Driving School
//Driving School finished
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user