> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_fuel/integrations/hud-and-garage.md).

# Hud and Garage

### HUDs

* Most HUD systems require an export to get the fuel level of the current vehicle.

You can use the following export to get the fuel level:

```lua
exports["rcore_fuel"]:GetFuel(vehicleEntity)
```

### Garages

* Garage systems often require two exports: SetFuel and GetFuel.

You can use the following exports for both cases:

**Getter:**

```lua
exports["rcore_fuel"]:GetFuel(vehicleEntity)
```

**Setter:**

```lua
exports["rcore_fuel"]:SetFuel(vehicleEntity, level)
```
