Thread: Rune-Evo V3 - How to make items non-dropable?

Results 1 to 3 of 3
  1. #1 Rune-Evo V3 - How to make items non-dropable? 
    Registered Member
    Join Date
    Oct 2012
    Posts
    60
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    I've added an EXP ring right and made it non tradeable, but obviously you can death/drop trade it. How would I make it so that it either instantly dissapears or cannot be dropped or lost on death?

    Thank you
    Reply With Quote  
     

  2. #2  
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    3,334
    Thanks given
    807
    Thanks received
    1,185
    Rep Power
    190
    in your sendItemsOnDeath method where ever that may be, just put a if statement like

    if (itemId == WHAT_EVER_ID)
    return;

    that should make the player who died with it keep it


    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Oct 2012
    Posts
    60
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Santa Hat View Post
    in your sendItemsOnDeath method where ever that may be, just put a if statement like

    if (itemId == WHAT_EVER_ID)
    return;

    that should make the player who died with it keep it
    Perfect, thank you Santa! Think you're like the main savior of my source aha!
    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: 1
    Last Post: 08-14-2012, 12:10 AM
  2. How to make items stackable
    By The Lizard King in forum Requests
    Replies: 1
    Last Post: 10-14-2008, 04:00 AM
  3. how to make items delete on death and barrows break
    By LastResortpkz in forum Tutorials
    Replies: 4
    Last Post: 09-13-2008, 07:23 PM
  4. How to make items sellable back to the shop
    By karl666 in forum Tutorials
    Replies: 4
    Last Post: 05-22-2008, 03:21 PM
  5. Simplifying how to make items
    By .fabian in forum Tutorials
    Replies: 1
    Last Post: 03-22-2008, 11:29 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
  •