export default function () { mp.events.addDataHandler("vehicleAdminSpeed", (entity, newValue) => { mp.gui.chat.push("datahandler event"); if (!entity.isAVehicle()) return; mp.gui.chat.push("newValue = " + newValue.toString()) entity.setEnginePowerMultiplier(newValue); }); }