[FREE] LC Fuel - Gas, Diesel, Electric & more

Please use our support Discord for report bugs

Maybe this would work? Exports - Lc Fuel

No but i recoded it so it works now, also a bug report:
I spawned a custom tankstation aka fuelstation but it dissappears sometime randomly

BR - Translation

lc_fuel\lang
br.lua (2.2 KB)

  • lc_fuel\nui\lang
    br.js (1.7 KB)

:facepunch:

Awesome script!

there is a bug that i found imagine your jerry can is empty and you want to fill your jerry can while you have it in your hands and you grab your hose then you get this and you can’t hang the hose back you see the ox_target to hang the hose back but nothing happens when you click on it

Cap not found for vehicle
^1SCRIPT ERROR: @lc_fuel/client/client_refuel.lua:151: attempt to index a nil value (local ‘closestCapPos’)^7
^3> executeRefuelAction^7 (^5@lc_fuel/client/client_refuel.lua^7:151)
^3> onSelectTargetOptionCallback^7 (^5@lc_fuel/client/client_refuel.lua^7:323)
^3> ref^7 (^5@lc_utils/functions/client/target.lua^7:120)
^3> callback^7 (^5@ox_target/client/main.lua^7:439)

This is a masterpiece, I use the scripts of this team and I will tell you this is one of the companies where the scripts are optimized, high-quality, you just buy, configure and use, I have never contacted the support service for help as everything works perfectly, thank you for your work.

2 Likes

Are you on qbox with ox fuel?

Hello! Amazing script, but ive noticed an issue. Its not too big but when using target and refueling your car you can stop fueling anywhere, so I could walk away from the car and look at the ground and press alt, and if my car is still fueling it will show up to stop fueling.

1 Like

@NotRexed Yes, I was aware of this issue and had been trying to identify it, as it seemed to be a problem within ox_target itself. I’ve pushed an update that uses a different export from ox_target, and it should be fixed now: Releases · LeonardoSoares98/lc_utils · GitHub

Can u also check these error ?

@Roekeloosss Getting Support - LixeiroCharmoso

Thanks, and ive also noticed another issue. For some reason when I fuel my vehicle its at full, but then like 2 seconds later its at 75%?

and then storing my vehicle messes up the fuel so weirdly dont know if thats my garage script or not

Has anyone found a way to make it work in a standalone environment this script looks good and i would like to use it in my server