PivityGmodStore

Giving Items

To add an item to a player, you can use the (serverside) xInventory.AddItem(ply, item, amount, metadata) function with the following arguments:

Player: The player to add the item to

Item: The item ID of the item to add

Amount: The amount to add

MetaData: Table of any metadata to apply to the item