Well, start by looking at the ulx.tp code. Then figure out how to get the position of the car.
There may not be an "easy" way to determine the name of any car in gmod using lua, but, perhaps you're working with a SENT that already has listed cars in some sort of table.
From there, list the code you've developed and the errors. Pay close attention to lua errors - they tell you exact line issues normally.