sync schneller

This commit is contained in:
hydrant
2021-05-09 23:37:47 +02:00
parent b9c21a8e7e
commit ae01977005

View File

@@ -40,11 +40,10 @@
setTimeout(() => { setTimeout(() => {
if (mp.vehicles.exists(vehicle)) { if (mp.vehicles.exists(vehicle)) {
var mod = vehicle.getMod(23); var mod = vehicle.getMod(23);
mp.gui.chat.push(`${vehicle.remoteId} - set wheel type = ${wheelType}, wheel = ${mod}`);
vehicle.setWheelType(wheelType); vehicle.setWheelType(wheelType);
vehicle.setMod(23, mod); vehicle.setMod(23, mod);
} }
}, 2000); }, 1000);
} }
mp.events.addDataHandler("vehicleTaxiLight", (entity: VehicleMp, state: boolean) => { mp.events.addDataHandler("vehicleTaxiLight", (entity: VehicleMp, state: boolean) => {