[Release] FRFuel [v1.7.0]

ive done everything said in the consumption rate. but it doesnt seem to consume any faster or refuel and slower from what ive seen. can you help me?

can someone make it so that petrol cans go empty after refueling? players who get petrol can have infinite fuel.

Nice job! Thanks!

If any of you wants to have a gas station on cayo, I found this ymap: Cayo Perico Simple Gas station [ymap] - FiveM Resource Development & Modding / Releases - Cfx.re Community I also added the coords of the pumps and everything in the GasStations.json file.
Just add this at the bottom of the file:

    {
      "coordinates": {
        "X": 4490.8862304688,
        "Y": -4512.158203125,
        "Z": 4.1904835700989
      },
      "pumps": [
        {
          "X": 4491.1796875,
          "Y": -4512.158203125,
          "Z": 4.1904835700989
        },
        {
          "X": 4496.482421675,
          "Y": -4510.6430664062,
          "Z": 4.1905870437622
        },
		{
          "X": 4486.0869140625,
          "Y": -4514.2416992188,
          "Z": 4.1551990509033
        },
		{
          "X": 4516.673828125,
          "Y": -4507.6875,
          "Z": 4.1756091117859
		},
		{
          "X": 4515.7807617188,
          "Y": -4507.1958007812,
          "Z": 3.9659631252289
		}
      ]
    }

Dont forget to add a comma at the end of the previous gas station!

Download link not working

noice will try later

AppVeyor You can get the resource from here.

I tried to download this for my server but it tells me this {“message”:“Artifact not found or access denied.”}
how do I fix that?

Same.

Updated dl link :tada:

is there a way for people to refuel outside of the vehicle ?

Hi! is there a way to move the fuel bar? I would like to place it under the minimap.

Link isnt working for me, I get this
{“message”:“Artifact not found or access denied.”}

Hello ! i wanted to edit the latest version of “frfuel” and i tried building it to see if i get any errors, i did it and i get these errors

Error    CS0433    The type 'Color' exists in both 'CitizenFX.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'    FRFuel    C:\Users\Its me\Desktop\frfuel\HUD.cs    18    Active```

You can download the build from the release page on the github.

Is there an addon script that requires the player to get out of the car to refuel, like as seen on DOJ RP videos? Or is that an entirely different fuel script resource? I don’t like having to refuel the car by sitting in the driver’s seat.

I really don’t like the fact that the parking brake gets triggered at low fuel levels, nor do I like the fact that somehow the vehicle can go backwards at low fuel levels. There’s probably a better way than locking up the wheels to slow down the vehicle when it’s at low fuel levels. My thought would be to somehow reduce torque or engine power…

installed the script and added it into my server.cfg and everything but it wont load in my server?

SetVehicleCheatPowerIncrease(x) where x decreases from 1.0 to 0.0 as it sputters out of fuel, then just engine off at 0.0. Simple.