Fires when a new item is added to a player's inventory.
Last updated 1 year ago
Example usage:
Events.InventoryItemAdded(function(event) -- Sends a notification to a player that receives the Laser Sword item if (event.item == ItemType.LASER_SWORD) then MessageService.sendInfo(event.player, "You have unlocked the power of the force!") end end)
The player who received a new item.
The type of item received by the player.
The amount of the item received by the player.