If you want something thats there, and the player can just jump into i.e. car. I'd advise using a class, and use the move command rather than a timeout of 0.1 and changing the x/y (if thats what you are doing).
You can get smooth movement using the move command
