Giter VIP home page Giter VIP logo

esx_inventory's Introduction

esx_inventory | Only works with this es_extended

I will accept PR or do bug fixes, if you found one, just report it on section "issues". You can join on my support discord to get help.

Description

Adds the following features

  • Inventory HUD Image from Imgur Image from Imgur
  • Drops HUD Image from Imgur Image from Imgur
  • Shops HUD Image from Imgur
  • Glovebox HUD Image from Imgur
  • Trunks HUD Image from Imgur Image from Imgur
  • Weapons as Items Image from Imgur

Explanation

Weapons as Items

Weapons are read from the items table with the prefix WEAPON_. Add all usable weapons into the items table with their limit. Ammo for each weapon is stored in ammos with amount of bullets, Ammos are read from the items table with the prefix AMMO_. Add all usable ammos into the items table with their limit and the use of ammo can be configurable on config.lua.

Hotbar Keys

The weapon wheel is disabled for the use of hot keys. Weapons being used as items is needed in this case

Installation

Add the esx_inventory to resource folder [esx]/[inventory]

Execute SQL : esx_inventory.sql

Add the following lines to your config:

start esx_inventory

Editing CSS

The source CSS is written in SASS, which is a superset of the CSS3 syntax. Compiling this will require some form of a SASS compiler to compile it into valid vanilla CSS that a browser (or in this case, NUI/CEF) can understand and parse. Can easily get a Visual Studio Code extension to achieve this, a good one to try is Live SASS Compiler, once installed add the below to your VSCode config and it'll compile the SCSS files into CSS and put it in the correct location.

"liveSassCompile.settings.formats": [{
        "format": "compressed",
        "extensionName": ".css",
        "savePath": "~/../"
}]

esx_inventory's People

Contributors

0rangefox avatar ushifty 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.