Clamping vehicle rotation

I am basically making a vehicle endless runner , however the vehicle must go straight, you can go to the sides but I dont want the player to able to pull a 90 degree into wall and then turn a 180 into the opposite direction, so how do I clam the vehicle rotation or at least make it more difficult to pull a 180. I tried having it not register input after passing a certain roll and then changing the rotation every tick. That failed horribly.

Just taking away the sideways input puts the vehicle into a spin. I do not know how to fix it. Please help.

If you do not want to change the vehicle angle (which involves rotation), I would not use a vehicle at all (just an actor bp with the vehicle static or skeletal mesh). If wheels are visible you can just rotate them when the vehicle moves.