Player

getPlayerInventories

This returns all three of the players inventories, main, special slots and clothing.

registerPlayerInventories#

This will register all three inventories for the src player you have provided, if the player exists already it will do nothing please destroy the inventory first.

useItem

Uses an item from the src players inventory either on themselves or on the otherPlayer if the argument has been provided.

Last updated