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:

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

Example of the "CustomFuelCapacity"

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

Last updated