We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you have enough money to start refuelling but not enough to get you to the next fuel tick, you get a "No progress bar is active" error.
oxfuel/config.lua -- Fuel tick time (every 250 msec) refillTick = 250, -- Fuel cost (Added once every tick) priceTick = 5,
If I have $5, I can start refueling...but it will give me this error. If I have more than $10, I'm fine.
Possible solution:
Add a check to see if the progressbar is active
Current
ox_fuel/client/fuel.lua: Line 106 if price + config.priceTick >= moneyAmount then
Modified
ox_fuel/client/fuel.lua: Line 106 if price + config.priceTick >= moneyAmount and lib.progressActive() then
Seems to work alright so far.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you have enough money to start refuelling but not enough to get you to the next fuel tick, you get a "No progress bar is active" error.
If I have $5, I can start refueling...but it will give me this error. If I have more than $10, I'm fine.
Possible solution:
Add a check to see if the progressbar is active
Current
Modified
Seems to work alright so far.
The text was updated successfully, but these errors were encountered: