# Giving items to a player

To give an item to a player you can use the `AddItem` method on the `PlayerInventory` class.

```csharp
// RAPI.GetLocalPlayer().Inventory.AddItem();

RAPI.GetLocalPlayer().Inventory.AddItem("Raw_Potato",1);
```
