remove aspeed debug messages
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
export default function () {
|
export default function () {
|
||||||
mp.events.addDataHandler("vehicleAdminSpeed", (entity, newValue) => {
|
mp.events.addDataHandler("vehicleAdminSpeed", (entity, newValue) => {
|
||||||
mp.gui.chat.push("datahandler event");
|
|
||||||
if (!entity.isAVehicle()) return;
|
if (!entity.isAVehicle()) return;
|
||||||
mp.gui.chat.push("newValue = " + newValue.toString())
|
|
||||||
entity.setEnginePowerMultiplier(newValue);
|
entity.setEnginePowerMultiplier(newValue);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user