Thread: Request for a tut for adding item to Donar Status!

Results 1 to 3 of 3
  1. #1 Request for a tut for adding item to Donar Status! 
    Split Era #1

    Join Date
    Jan 2011
    Age
    23
    Posts
    305
    Thanks given
    681
    Thanks received
    60
    Rep Power
    33
    Loooool
    Reply With Quote  
     

  2. #2 Click item for donator status 
    0x2be|~0x2be
    akamichael's Avatar
    Join Date
    Jan 2012
    Age
    25
    Posts
    73
    Thanks given
    1
    Thanks received
    8
    Rep Power
    44
    Hixie, you can do something as simple as this (317 PI):

    ClickItem.java under processPacket method:
    Code:
    if(itemId == ****)
    {
    	c.playerRights = 4;
            c.getItems().deleteItem(****, 1);
    	c.sendMessage("Enjoy donator status!");
    	c.updateRequired = true;
    	c.disconnected = true;
    }
    It also is preferred that's it's a clickable item id that won't be selected.

    Hope this helped, it all depends on the revision your source is, and what specifics you want it to do.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Split Era #1

    Join Date
    Jan 2011
    Age
    23
    Posts
    305
    Thanks given
    681
    Thanks received
    60
    Rep Power
    33
    Lol I can't believe I couldn't do this.
    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. Paying For Adding Items To My Server [PI]
    By Bright in forum Buying
    Replies: 6
    Last Post: 12-16-2011, 04:28 PM
  2. Replies: 7
    Last Post: 07-19-2009, 06:08 PM
  3. Adding Items To Devo Source
    By Peter in forum Help
    Replies: 4
    Last Post: 01-26-2009, 07:20 PM
  4. [DELTA] Adding items to assult [DELTA]
    By GinGee in forum Tutorials
    Replies: 10
    Last Post: 12-10-2008, 05:46 AM
  5. Replies: 10
    Last Post: 11-13-2008, 08:56 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
  •