[Release] FRFuel [v1.7.0]

Can confirm this is a thing after new update.

1 Like

Foodhud and frfuel don’t work after new update
When i drink or eat : http://prntscr.com/fncoox

the fuel doesnt work after the fivem update…

@roboticgamer Yeah, i have seen the same effect. Enjoy the release which it fixes unknow issues !

Just make a command to start the engine untill its fixed.

SetVehicleEngineOn(GetVehiclePedIsUsing(GetPlayerPed(-1)), true, true, true)

Or use [Release] Vehicle Controls GUI v2

I will try your answer. Is it possible without compile FrFuel script ? I don’t know, with a Citizen.Thread on the vehicule.

Sometimes it works and sometimes it don’t,But if I get out of the car after gasing up and getting back in the car starts up.

Hotfix has been released, fixing current issue of not starting engine after turning it off. Also check “Known issues” section, it has been updated.

3 Likes

There seems to be a pretty massive issue with the latest version, if any vehicle runs out of fuel it allows you to continue driving, even exiting the vehicle and getting back in doesn’t change this.

We’re not getting any errors.

2 Likes

Temp fix for vehicle keep running even w/o fuel has been released.

Thanks for this.

About the config file, if CreatePickups si set to false, does it also disable manual refuelling ?
I wish I can burn someone’s car with fuel again… XD

That fixed it for me. One request - when running low on fuel would it be possible to change it to the engine cutting in and out rather than putting the vehicle into a slow state and in reverse?

2 Likes

Yes this should be a thing! Engine cutting would be so much more legit. If you are able to this would be appreicated :slight_smile:

@thers @iridium Big issue with hybrid cars like the Voltic, the fuel gauge is empty, the car engine wont start and the driver Ped is acting crazy… Please fix this.

(No Vehicle Control script running)

1 Like

FrFuel still not working.

Fuel bar dissapear sometimes

the only issue people on my server are having is when we go o gas station, press e to turn off engine, hold space to fill tank, we cant press e again to start engine, it stays off and i have to use a trainer to start it??? Any fix??

It should be working just fine with the latest version (1.0.3) if it’s not there’re probably another mod interferring.

The latest version of FRFuel for me makes this not work anymore:

local enginetoggled = false
function ToggleEngine()
    Citizen.CreateThread(function()
        if IsPedSittingInAnyVehicle(GetPlayerPed(-1)) then
            local veh = GetVehiclePedIsUsing(GetPlayerPed(-1), false)
            if not enginetoggled then
                SetVehicleEngineOn(veh,false,true,true)
                SetVehicleUndriveable(veh, true)
                enginetoggled = true
            else
                SetVehicleEngineOn(veh,true,true,true)
                SetVehicleUndriveable(veh, false)
                enginetoggled = false
            end
        end
    end)
end

Any idea why?