Vehicle Exits

Could someone draw me up a script that would override all current Vehcle exit points. By which I mean on that sets you say… 10 units to the let or 10 units to the right. Hoping to avoid editing multiple files to solve the common problem of people getting stuck in there own roof.

[lua]hook.Add(“PlayerLeaveVehicle”, “PrintPlayerVehicleExit”, function(ply, veh)
ply:SetPos( veh:GetPos() + Vector( 10, 10, 10) );

What you could do is perform a trace in every direction to check if it’s clear, though this is what you asked for.

Thank you!

I would love if you could do this for me.