Coder Social home page Coder Social logo

qb-durability-1's Introduction

qb-durability

A very simple item degrading system for QB

How to install

  1. Replace your current qb-inventory with https://github.com/mknzz/qb-inventory OR you can manually copy the changes from https://github.com/mknzz/qb-inventory/commit/5bc5e2016e2b44d18fb2568d108b874c5e208e47 to your app.js
  2. That's it

How to remove durability from a specific item

Example
local remove = 30 //how much quality you want to remove
local itemname = "lockpick" //name of the item you want to remove the quality from
TriggerServerEvent('qb-durability:server:RemoveItemQuality', remove, itemname)

Quick preview - https://gyazo.com/57dbbefb0f85ed4df038996b54d7faba

Credits to NathanERP's qb-durability for the idea

qb-durability-1's People

Contributors

mknzz avatar

Stargazers

 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.