JavaScript:
let localplayer = mp.players.local;
mp.events.add("render", () =>
{
if (!localplayer.isInAnyVehicle(false)) return;
let vehicle = localplayer.vehicle;
if (vehicle.getPedInSeat(-1) != localplayer.handle || vehicle.isOnAllWheels()) return;
mp.game.controls.disableControlAction(0, 63, true); // A
mp.game.controls.disableControlAction(0, 64, true); // D
});
Автор: XDeveluxe