Tried to do something similar to cruise control. To activate it, you need to get into the car and press the "G" button. To turn it off, press "G" again. But there is one minus (maybe a plus) with the help of this script you can fly because the speed of the car is always the same.