The Stock is default 1500 Liters. But gets refilled if below 0 Or equal.
The random from-to Price is already in there for each fuel Type
Let me know when the stock will be used for “ITEMS” and I’ll be a buyer ![]()
but others we want to know can we replace it ox_fuel? And would it work that ox_inventory would have durability and ammo?
Hey,
ox_inventory will be supported in the next update. Should be online in the next hour.
can we buy it?
myFuel - Update - 02.02.2023
- Added support for Ox_Inventory
- Max Distance for Fuelpump with nozzle in hand via Config
- French translations included
- Changed UI.js for fixing UI not open
- Prepared the “use of items”-functionallity
ox_inventory is now supported.
not supported
?
There is a Config option for ox inventory which can be enabled and then it works.
False advertising – Not all code is accessible
myFuel - Update - 04.02.2022
- some French Translations changed
- Pay Cash when filling up works again
- LegacyFuel export could work now (there was an entry missing in fxmanifest)
- Database structure extended for performance optimisation (added at the bottom of the sql file marked with version 1.0.3, you only need to execute the statements, not all)
- Disable Mission foreach fuel_type possible in Config
- Disable Mission fuel buy foreach fuel_type possible in Config
Update - 07.02.2023
- Added Items in UI for Owner (availale in Config.FuelTypes)
- Job opportunities added to refill petrol stations without owners per item (Config.FillingUpJobs)
- Owned petrol stations can show up in different color (Config.GasStationBlip.ColorSold)
- Self Owned petrol stations can show up in different color (Config.GasStationBlip.ColorMine)
- Fuel-Sync after Fillingup should work now
- Own HUD can show now Its Level in Liters/KW like at the fuel pump. (Config.ShowFuelInPercentage)
- Extra Exports created for HUDs
--[[
get the calced Fuel amount in the fuel unit
f.e. Vehicle has 50 Liters max Capacity and is full, the Fuel_Level in Lua (and Most UIs) is 100(%)
This function will you return the 50
--]]
exports["myFuel"]:GetFuelInUnit(<vehicle>)
-- this function will give you the unit for this vehicle (L or KW if its electric)
exports["myFuel"]:GetFuelUnit(<vehicle>)
LegacyFuel export is not working for me,
everything else its working great. Nice release
Hey,
if possible you could change the LegacyFuel export to myFuel. Then it will work great
I was using enc0ded-persistant-vehicles and this does not work with that. After failing to get support with enc0ded and his escrow locked script i have had to resort to buying AdvancedParking as a replacement to fix my problem but now everything is working great ![]()
Just putting this out there incase anybody else uses the same persistent-vehicle script the LegacyFuel export does not work with enc0ded
Nice script! Love it and bought it.
I appreciate the regular updates but would be nice to know about the updates.
No change logs since Feb. 7, 2023. I couldn’t find anything about the updates on discord too .
Oh, didn’t know that I need a role. Thank you! ![]()
myFuel - Update - 08.08.2023
- When paying for a mission your money can’t be negative anymore
