Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssinventory_wydan

Category:script
Author(s):|B.R|MANAWYDAN
Downloads:1726
Rate:You need to be logged in to vote
Rating:5 (2 Votes)
Description:
Small Inventory easy to use and to change.
Mouse click left: use item
Mouse click right: drop item
Button i: open/close inventory

You can edit "itensTable" to add/remove new items(should change "getModelFromString" function too).
The item name is the same item picture.png
ex: item name = juice image = juice.png

Events:
onPlayerUseItem -- when player try use item
onPlayerDropItem -- when player drop item

Exported Functions
addPlayerItem -- add item to player
getPlayerItens -- get player items (table)
setPlayerItens -- set player item (table)
syncronizePlayerItens -- syncronize Player Itens with client
RefreshDropedItens -- refresh droped items
clearInventorySandBox -- clear unnecessary date

Have fun

Download latest version | Report

Version history

Version Publish Date Changes
0.03.0 2015-07-24 17:00:29 Fixed small bug
Added option to save/load when quit/login
Download
0.02.0 2015-06-23 18:47:04 First public release Download