How to spawn a vehicle

What would i use to spawn a vehicle in game I thought i found the right function but I could not get it to work so if anyone know how to spawn a vehicle could they please help

Didn’t you already have a thread about this?

On the front page, no less?

Yes but I posted that about a certain function i couldn’t get working and i spent a couple of hours trying it but i was wondering if anyone knew a completely different method