/cc-fuel

CC-Fuel is a Modified version of LegacyFuel for QB-Core using QB-Target for Interactions.

Primary LanguageLua

Banner

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

  1. Remove LegacyFuel from your [standalone] folder
  2. Drop the cc-fuel folder into your [standalone] folder
  3. Add fuelsiphon.png to QB-Inventory>html>images
  4. 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'},
  1. 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

image Image1

CREDIT

Original Repo - https://github.com/qbcore-framework/LegacyFuel

DEPENDENCIES