Results 1 to 2 of 2
  1. #1
    zths's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    China
    Posts
    46
    Reputation
    10
    Thanks
    593
    My Mood
    Tired

    Post easyway to get Item amount & item list

    easy way to get item list.
    no longer need to update
    Code:
        using System.Collections.Generic;
        static class Items
        {
            private static List<int> itemIdList = null;
            public static List<int> getitems()
            {
                if (itemIdList == null)
                {
                    itemIdList = new List<int>();
                    for (int i = 0; i < 1000000; i++)
                    {
                        string str = ItemName.getName(i);
    		    //888888888  miss name string
                        if (str.IndexOf(ItemName.getName(888888888)) == -1)
                        {
                            itemIdList.Add(i);
                        }
                    }
                }
                return itemIdList;
            }
        }

    Get item amount
    include mags;
    Code:
    int amount = ItemAmount.getAmount(ItemId);
    if (amount <= 1)
    {
    	if (ItemStackable.getStackable(ItemId))
    	{
    		//user set amount value
    		amount = Hackui.spawnamount;
    	}
    	else
    	{
    		amount = 1;
    	}
    }
    spawnitem(ItemId, amount);
    //Get item State string
    //ItemState.getState(ItemId)

  2. #2
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883
    Appreciated, I'll be sure to implement this later.

Similar Threads

  1. [Info] How to get a new Free Item Pack incl. a Kaliya AMD 65 & Iyan Armor set, XP boost etc
    By JordansRolex in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 71
    Last Post: 07-29-2013, 01:35 PM
  2. [Tutorial] [BLR] How to get a Free Hitman Item Pack!
    By JordansRolex in forum BlackLight Retribution Hacks
    Replies: 7
    Last Post: 06-15-2013, 02:02 PM
  3. Replies: 50
    Last Post: 02-02-2013, 02:08 AM
  4. How do we get the anniversary event items?
    By Nirvash in forum Combat Arms Help
    Replies: 6
    Last Post: 02-12-2011, 09:41 PM