Skip to content

scrypt-kitty/VORP-Inventory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VORP-Inventory

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.

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 57.5%
  • CSS 28.8%
  • HTML 10.7%
  • Lua 3.0%