# SetVehicleFuel

```lua
FD.SetVehicleFuel = function(vehicle, fuel)
    if Config.Fuel == 'legacy' then
        return exports["LegacyFuel"]:SetFuel(vehicle, fuel)
    else
        return SetVehicleFuelLevel(vehicle, fuel + 0.0)
    end
end
```
