JeffreyBytes / VORP-Inventory

Inventory System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inventory System for VORP Core

Requirements

How to install

  • Download the lastest version of VORP Inventory
  • Copy and paste vorp_inventory folder to resources/vorp_inventory
  • Add ensure vorp_inventory to your server.cfg file
  • To change the language go to resources/vorp_inventory/Config and change the default language, also you will have to edit the html file to change the text on the inventory menu
  • Now you are ready!

Features

  • Unique weapons in order not to duplicate them.
  • Each weapon has its own ammo and can have diferent type of ammo.
  • Each weapon has its own modifications.
  • When dropping or giving a weapon you give it with all the modifications and ammo.
  • It also has usaable items.
  • KLS.

image image

API For Lua

For importing the API on top of your server resource file vorpInventory = exports.vorp_inventory:vorp_inventoryApi() this will return a table for simply using the inventory

  • Uses:
  • Quit weapon vorpInventory.subWeapon(source,weaponId)
  • Create and give new Weapon with the name of the weapon in capital letters vorpInventory.addWeapon(source,weaponName)
  • Add an item with quantity vorpInventory.addItem(source,item,cuantity)
  • Sub item with quantity vorpInventory.subItem(source,item,subCuantity)
  • Returns the item quantity vorpInventory.getItemCuantity(source,item)

Wiki

Wiki VORP Inventory

Credits

Credits to @Trsak for creating the base the inventory interface

Credits to Redemrp_inventory

About

Inventory System

License:GNU General Public License v3.0


Languages

Language:JavaScript 62.1%Language:C# 25.1%Language:CSS 7.2%Language:HTML 4.7%Language:Lua 0.8%