7956 {
7958 if (count > 0)
7959 {
7961 {
7963
7965 {
7966 InventoryLocation il = new InventoryLocation();
7967 for (int i = count - 1; i >= 0 ; i--)
7968 {
7970 if (itemToDelete != null)
7971 {
7972 itemToDelete.GetInventory().GetCurrentInventoryLocation(il);
7973 }
7974
7976 {
7978 }
7979 }
7980 }
7981 else
7982 {
7983 for (int j = count - 1; j >= 0 ; j--)
7984 {
7986 if (itemToDelete == null)
7987 {
7989 }
7990 else
7991 {
7992 itemToDelete.Delete();
7994 }
7995 }
7996 }
7997 }
7998 }
7999 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation
ref array< EntityAI > m_ItemsToDelete
ItemBase GetItemInHands()
proto native CGame GetGame()