The methods of the CScriptBindInventory class are listed here.
|
|
Name |
Description |
|
| |
|
Syntax: Inventory.Clear() Clears the inventory. | |
|
Syntax: Inventory.Destroy() Destroys the inventory. | |
|
| |
|
Syntax: Inventory.Dump() Dumps the inventory. | |
|
Syntax: Inventory.GetAmmoCapacity( ammoName ) Gets the capacity for the specified ammunition. | |
|
Syntax: Inventory.GetAmmoCount(ammoName) Gets the amount of the specified ammunition name. | |
|
Syntax: Inventory.GetCurrentItem() Gets the current item. | |
|
Syntax: Inventory.GetCurrentItemId() Gets the identifier of the current item. | |
|
Syntax: Inventory.GetGrenadeWeaponByClass( className ) Gets grenade weapon by class name. | |
|
Syntax: Inventory.GetItemByClass( className ) Gets item by class name. | |
![]() |
This is GetMemoryUsage, a member of class CScriptBindInventory. | |
|
Syntax: Inventory.HasAccessory( accessoryName ) Checks if the inventory contains the specified accessory. | |
|
This is Release, a member of class CScriptBindInventory. | |
|
Syntax: Inventory.SetAmmoCount( ammoName, count ) Sets the amount of the specified ammunition. |
|
Copyright (c) 2012. All rights reserved.
|