//Get max inventory size
int iMaxInventorySize = GetMaxInventorySize(GetHero());
//get current inventory count
object[] oInv = GetItemsInInventory(GetHero(), GET_ITEMS_OPTION_BACKPACK, 0, "", 1);
PrintToLog("Max Inventory size:" + IntToString(iMaxInventorySize));
PrintToLog("Current Inventory count:" + IntToString(GetArraySize(oInv)));
This returned 102 items in my inventory out of a total of 120.
Enjoy
Modifié par JackFuzz, 17 janvier 2010 - 11:28 .





Retour en haut






