Thread: Item's in correct place. [Pi]

Results 1 to 6 of 6
  1. #1 Item's in correct place. [Pi] 
    Registered Member black birds0's Avatar
    Join Date
    Nov 2010
    Posts
    83
    Thanks given
    2
    Thanks received
    3
    Rep Power
    1
    items in correct place.


    look for

    targetSlot=12;
    } else {
    targetSlot = 3;
    }
    In your Itemassistant.java

    place this

    switch (wearID) {
    case ****://nameofitem
    targetSlot = 0;
    break;
    }
    between

    } else {
    targetSlot = 3;
    }
    And

    if(c.duelRule[11] && targetSlot == 0) {
    c.sendMessage("Wearing hats has been disabled in this duel!");
    return false;
    }
    two space's below
    * = itemid...


    targetSlot = 0; the 0 between the = and the ; is the place its going to place it at

    here's a list of the Target Slot Id's. example u want to add coif to the head paste it between were u told you, so it should look like
    switch (wearID) {
    case CoifId://Coif
    targetSlot = 0;
    break;
    }
    well i hope this helped if not sorry :/

    if(itemType(wearID).equalsIgnoreCase("cape")) {
    targetSlot=1;
    } else if(itemType(wearID).equalsIgnoreCase("hat")) {
    targetSlot=0;
    } else if(itemType(wearID).equalsIgnoreCase("amulet")) {
    targetSlot=2;
    } else if(itemType(wearID).equalsIgnoreCase("arrows")) {
    targetSlot=13;
    } else if(itemType(wearID).equalsIgnoreCase("body")) {
    targetSlot=4;
    } else if(itemType(wearID).equalsIgnoreCase("shield")) {
    targetSlot=5;
    } else if(itemType(wearID).equalsIgnoreCase("legs")) {
    targetSlot=7;
    } else if(itemType(wearID).equalsIgnoreCase("gloves")) {
    targetSlot=9;
    } else if(itemType(wearID).equalsIgnoreCase("boots")) {
    targetSlot=10;
    } else if(itemType(wearID).equalsIgnoreCase("ring")) {
    targetSlot=12;
    } else {
    Reply With Quote  
     

  2. #2  
    Banned Hellobuddyhowareyou's Avatar
    Join Date
    Mar 2011
    Posts
    738
    Thanks given
    27
    Thanks received
    20
    Rep Power
    0
    already released
    Reply With Quote  
     

  3. #3  
    Austin_
    Guest
    Wait wut? Is there nothing that already puts them in the correct place? lol?
    Reply With Quote  
     

  4. #4  
    Registered Member Treq's Avatar
    Join Date
    Aug 2010
    Posts
    463
    Thanks given
    71
    Thanks received
    65
    Rep Power
    22
    This has been released many times.
    ~Treq~ (Previously Spetsnaz)
    Reply With Quote  
     

  5. #5  
    Registered Member black birds0's Avatar
    Join Date
    Nov 2010
    Posts
    83
    Thanks given
    2
    Thanks received
    3
    Rep Power
    1
    Quote Originally Posted by toxic melee View Post
    This has been released many times.
    havent seen it if u give me topic ill remove.
    Reply With Quote  
     

  6. #6  
    Registered Member black birds0's Avatar
    Join Date
    Nov 2010
    Posts
    83
    Thanks given
    2
    Thanks received
    3
    Rep Power
    1
    Quote Originally Posted by Grizzly Jr View Post
    Wait wut? Is there nothing that already puts them in the correct place? lol?
    really?
    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: 25
    Last Post: 05-06-2010, 10:49 AM
  2. The newest item's
    By robindezeeuw in forum Models
    Replies: 3
    Last Post: 04-24-2010, 09:14 PM
  3. dont know if this is correct place
    By pizzaman 6 9 in forum Requests
    Replies: 2
    Last Post: 08-03-2009, 08:14 PM
  4. My Item's Keep Nullin
    By Mario in forum Help
    Replies: 14
    Last Post: 07-18-2009, 01:54 AM
  5. Modifying an Item's Name
    By Full Metalst in forum Tutorials
    Replies: 5
    Last Post: 11-15-2008, 03:15 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •