# How to Configure Vehicle Settings on Your Project Zomboid Server (/docs/project-zomboid/vehicle-settings)



Vehicles are an important part of Project Zomboid survival. You can customize how many spawn, their condition, fuel levels, and damage behavior.

Vehicle Settings [#vehicle-settings]

Edit `Zomboid/Server/[servername]_SandboxVars.lua`:

| Setting               | Default | Range      | Description                                |
| --------------------- | ------- | ---------- | ------------------------------------------ |
| `EnableVehicles`      | true    | true/false | Enable or disable vehicles entirely        |
| `CarSpawnRate`        | 3       | 1–5        | Spawn frequency (1=Very Rare, 5=Abundant)  |
| `ChanceHasGas`        | 3       | 1–5        | Chance a vehicle has fuel                  |
| `InitialGas`          | 3       | 1–5        | How much fuel vehicles start with          |
| `CarGeneralCondition` | 3       | 1–5        | Average condition (1=Terrible, 5=Pristine) |
| `CarDamageOnImpact`   | 3       | 1–5        | Damage from collisions                     |
| `CarGasConsumption`   | 1.0     | 0.0–10.0   | Fuel consumption multiplier                |

Common Configurations [#common-configurations]

Scarce Vehicles (Hardcore) [#scarce-vehicles-hardcore]

```lua
CarSpawnRate = 1,
ChanceHasGas = 1,
InitialGas = 1,
CarGeneralCondition = 1,
CarGasConsumption = 2.0,
```

Very few vehicles, barely any fuel, poor condition. Finding a working car is a major achievement.

Plentiful Vehicles (Casual) [#plentiful-vehicles-casual]

```lua
CarSpawnRate = 5,
ChanceHasGas = 4,
InitialGas = 4,
CarGeneralCondition = 4,
CarGasConsumption = 0.5,
```

Lots of vehicles in good condition with fuel. Easy to get around.

No Vehicles [#no-vehicles]

```lua
EnableVehicles = false,
```

Disables vehicles entirely. Players must travel on foot.

Spawn an Admin Vehicle [#spawn-an-admin-vehicle]

As an admin, you can spawn vehicles for players:

```
/addvehicle "PlayerName" "Base.VanSeats"
```

Common vehicle types:

* `Base.VanSeats` — Van
* `Base.PickUpTruck` — Pickup truck
* `Base.SportsCar` — Sports car
* `Base.StepVan` — Step van
* `Base.OffRoad` — Off-road vehicle

Related Guides [#related-guides]

See also: [Sandbox Settings](/docs/project-zomboid/sandbox-settings) | [Admin Commands](/docs/project-zomboid/admin-commands) | [Configure Your Server](/docs/project-zomboid/server-config)

If you need help, join our [Discord](https://discord.xgamingserver.com/).
