This commit is contained in:
Mac_Slash
2020-05-05 20:33:59 +02:00
parent 255ff83174
commit c4f697e0a3
10 changed files with 793 additions and 568 deletions

View File

@@ -7,15 +7,12 @@ export default function () {
mp.events.addDataHandler("vehicleAdminSpeed", (entity, newValue) => {
if (!entity.isAVehicle()) return;
entity.setEnginePowerMultiplier(newValue);
mp.gui.chat.push("Debug0");
});
mp.events.addDataHandler("vehicleAdminSpeed2", (entity, newValue2) => {
if (!entity.isAVehicle()) return;
mp.gui.chat.push("Debug1");
//entity.setEngineTorqueMultiplier(newValue2);
TorqueEntity = entity;
TorqueValue = newValue2;
mp.gui.chat.push("Debug2");
});
/*mp.events.add('render', () => {
let vehicle = mp.players.local.vehicle;