CC-FUEL
CC-Fuel is a Modified version of LegacyFuel for QB-Core using QB-Target for Interactions.
Full credit goes to the author of LegacyFuel, I just reworked it to fit better with qb-target.
INSTALLATION GUIDE
- Remove LegacyFuel from your [standalone] folder
- Drop the cc-fuel folder into your [standalone] folder
- Add fuelsiphon.png to QB-Inventory>html>images
- Add The Following Line to QB-Core>Shared.lua
-- CC-Fuel
['fuelsiphon'] = {['name'] = 'fuelsiphon', ['label'] = 'Fuel Siphon', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'fuelsiphon.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'A fuel siphon to extract fuel from vehicles'},
- Add Fuel Siphon to a shop of your choice or anywhere else you want it.
FEATURES
- QB-Target Based Script
- Can Refill At All Gas Stations
- Refuel From Petrol Cans (Petrol Can Item Required On Person)
- Siphon Fuel From Cars (Fuel Siphon Item Required On Person)
- Added chance for car blowing Up if Engine left on while refueling
NOTE
Any scripts that use the LegacyFuel export should be changed to use the cc-fuel export instead.
- exports['LegacyFuel'] --> exports['cc-fuel']
To get the HUD fuel indicator working again replace the GetFuel export in qb-hud
IMAGES
CREDIT
Original Repo - https://github.com/qbcore-framework/LegacyFuel
DEPENDENCIES
- QBCore - https://github.com/qbcore-framework
- QB-Target - https://github.com/BerkieBb/qb-target