Coder Social home page Coder Social logo

k2xp / cc-fuel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cqc-scripting/cc-fuel

0.0 0.0 0.0 542 KB

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

Home Page: https://discord.gg/XdQRbG7JzA

Lua 100.00%

cc-fuel's Introduction

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

cc-fuel's People

Contributors

carmomeister avatar eoinmcbennett avatar quinn101 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.