Vehicle Command

How would I make a command that when typed, creates a vehicle and puts you in it?

Expression 2.

[editline]09:50AM[/editline]

Oh, nevermind, you cant spawn vehicles with expression 2, or any sort of prop spawner, maybe the adv duplicator though.

I mean in lua scripting.

Oh, sorry, came in from ticker, didn’t notice the board this was in, i cant help you, sorry.

Actually, how would I make it so you type a command and a spawn menu pops up with vehicles and you can click one and it spawns it?