Ped
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user