if not IsDisabledControlPressed(0, Keys["A"]) and not IsDisabledControlPressed(0, Keys["D"]) then
TaskVehicleTempAction(PlayerPedId(), currentVehicle, 32, 1000)
end
So, when you are not pressing A or D, you move forward.
(I made it because you can actually go Left or Right but no Forward, so that fix that)
I solved it, I paused almost all scripts and probe 1 for 1, the cause of the bug was the ambulancejob because I had put a badly closed cuff code. I restored a few days before and it was solved.
Anyone know how to make it to where you can’t push a blown up vehicle or vehicle with tyres popped? I have tried the two following lines but they don’t seem to work.
if GetVehicleEngineHealth(closestVehicle) >= 0 then
DetachEntity(ped, false, false)