# SetItemAddedToInventoryFilter
void SetItemAddedToInventoryFilter(hFunction, hContext)
# Class
✔️ Server: CDOTABaseGameMode
❌ Client: undefined
# Function Description
Set a filter function to control what happens to items that are added to an inventory, return false to cancel the event
# Parameters
| Type | Name | Description |
|---|---|---|
| handle | hFunction | No Description Set |
| handle | hContext | No Description Set |