# Change fuel capacity for vehicle

### Location

This configuration is located in `rcore_fuel/config/fuel_config.lua`.

### Vehicle Fuel Capacity Configuration

The configuration is managed within the `Config.CustomFuelCapacity` array.

### Structure

The array structure consists of:

* `model`: The spawn model of the vehicle.
* `maxFuel` Maximum fuel capacity for the model

Example of a new entry:

{% code overflow="wrap" lineNumbers="true" %}

```lua
{
    model = "myCar",
    maxFuel = 999,
}
```

{% endcode %}

### Example of the "CustomFuelCapacity"

{% code overflow="wrap" lineNumbers="true" %}

```lua
-- custom list with custom values for each car you want
Config.CustomFuelCapacity = {
    -- entry 1
    {
        model = "phantom3",
        maxFuel = 300,
    },
    -- entry 2
    {
        model = "anotherCar",
        maxFuel = 10,
    },
}
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_fuel/config/custom_fuel_capacity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
