Thread: Name this method? [pi]

Results 1 to 4 of 4
  1. #1 Name this method? [pi] 
    Donator
    The Arbitorrr's Avatar
    Join Date
    Apr 2011
    Posts
    94
    Thanks given
    28
    Thanks received
    4
    Rep Power
    19
    Resolved. To find the method getItemName2 just use Dashboard's Release on Reaction Bot.
    Thanks.
    Last edited by The Arbitorrr; 09-16-2012 at 02:19 PM. Reason: resolved
    Reply With Quote  
     

  2. #2  
    Member Name this method? [pi] Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    looks like all it does is get the item name, just replace it to whatever your source uses instead

    Attached imageAttached image
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member ARshadow's Avatar
    Join Date
    Aug 2011
    Posts
    470
    Thanks given
    30
    Thanks received
    41
    Rep Power
    53
    Code:
    public static String getItemName2(int ItemID) {
    		for (int i = 0; i < Config.ITEM_LIMIT; i++) {
    			if (Server.itemHandler.ItemList[i] != null) {
    				if (Server.itemHandler.ItemList[i].itemId == ItemID) {
    					return Server.itemHandler.ItemList[i].itemName;
    				}
    			}
    		}
    		return "Unarmed";
    	}
    Itemassistant
    Spoiler for Vouches:
    Quote Originally Posted by Liam Baby
    Vouch
    Quote Originally Posted by Mojo!
    vouch for adding killstreak system to my server
    Quote Originally Posted by jet kai
    Vouch for buying 28m of me, very fast, no hassle and trusted.
    All these vouches are on my profile, I just put it into quotes and in my signature to make it easier for users to find .
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Donator
    The Arbitorrr's Avatar
    Join Date
    Apr 2011
    Posts
    94
    Thanks given
    28
    Thanks received
    4
    Rep Power
    19
    Resolved.

    Thank you ARshadow. If i had a virtual cookie to give you i would.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 5
    Last Post: 09-05-2011, 11:21 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •