Destroys the inventory.
Inventory.Destroy()
      
        Clears the inventory.
Inventory.Clear()
      
        Dumps the inventory.
Inventory.Dump()
      
        Gets item by class name.
Inventory.GetItemByClass( className )
| Parameter | Description | 
|---|---|
| className | Class name. | 
Gets grenade weapon by class name.
Inventory.GetGrenadeWeaponByClass( className )
| Parameter | Description | 
|---|---|
| className | Class name. | 
Checks if the inventory contains the specified accessory.
Inventory.HasAccessory( accessoryName )
| Parameter | Description | 
|---|---|
| accessoryName | Accessory name. | 
Gets the identifier of the current item.
Inventory.GetCurrentItemId()
      
        Gets the current item.
Inventory.GetCurrentItem()
      
        Gets the amount of the specified ammunition name.
Inventory.GetAmmoCount(ammoName)
| Parameter | Description | 
|---|---|
| ammoName | Ammunition name. | 
Gets the capacity for the specified ammunition.
Inventory.GetAmmoCapacity( ammoName )
| Parameter | Description | 
|---|---|
| ammoName | Ammunition name. | 
Sets the amount of the specified ammunition.
Inventory.SetAmmoCount( ammoName, count )
| Parameter | Description | 
|---|---|
| ammoName | Ammunition name. | 
| count | Ammunition amount. |