> For the complete documentation index, see [llms.txt](https://docs.quantum-studios.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quantum-studios.net/qtm-lib/client-functions/framework/spawnvehicle.md).

# SpawnVehicle

```etlua
Framework.SpawnVehicle(model, pos, heading, cb, networked)
```

### Arguments

| Argument  | Data Type | Optional | Explanation                    |
| --------- | --------- | -------- | ------------------------------ |
| model     | string    | no       | Vehicle model hash             |
| pos       | vector3   | no       | Vehicle spawn position         |
| heading   | number    | no       | Vehicle spawn rotation         |
| cb        | ?         | no       | ?                              |
| networked | boolean   | no       | If vehicle should be networked |
