rssinventory_wydan
Category: | script |
---|---|
Author(s): | |B.R|MANAWYDAN |
Downloads: | 1730 |
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
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