> For the complete documentation index, see [llms.txt](https://wosa.gitbook.io/working-with-wosa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wosa.gitbook.io/working-with-wosa/functions/client/game/vehicle.md).

# Vehicle

Client functions that are in some way related to the vehicle aspects.

```lua
local fuel = Wosa.Game.Vehicle.GetFuel(entity vehicle)
```

```lua
Wosa.Game.Vehicle.SetFuel(entity vehicle, int value)
```

```lua
local anyExtras = Wosa.Game.Vehicle.HaveExtras(entity vehicle)
```

```lua
local vehData = Wosa.Game.Vehicle.ToData(entity vehicle)
```

```lua
local vehData = Wosa.Game.Vehicle.CreateFromData(table vehData)
```

```lua
Wosa.Game.Vehicle.Create(string model, table coords, table data, bool Network)
```

```lua
local isCruiseModeEnabled = Wosa.Game.Vehicle.isCruiseEnabled()
```

```lua
Wosa.Game.Vehicle.Engine(entity vehicle)
```
