Thread: How to make player rights 8 unable to lose items when dying and drops disapear

Results 1 to 2 of 2
  1. #1 How to make player rights 8 unable to lose items when dying and drops disapear 
    Chow down on these noodles
    OodlesOfNoodles's Avatar
    Join Date
    May 2011
    Posts
    1,819
    Thanks given
    235
    Thanks received
    91
    Rep Power
    55
    How to make player rights 8 unable to lose items when dying and drops disapear?
    thats my premium donor that can spawn and i dont want items to show when dropped and them to not lose items when dead.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Sep 2011
    Posts
    100
    Thanks given
    5
    Thanks received
    5
    Rep Power
    29
    In your handle death method. Add somewhere at the top.

    Code:
    if(c.playerRights == 8) {
    	return;
    }
    Or if the handle death method is inside the client class:

    Code:
    if(playerRights == 8) {
    	return;
    }
    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: 4
    Last Post: 09-07-2011, 03:55 AM
  2. Replies: 0
    Last Post: 12-22-2010, 03:29 AM
  3. Replies: 12
    Last Post: 06-23-2010, 04:40 AM
  4. Player Rights for items?
    By RarePk in forum Help
    Replies: 2
    Last Post: 05-02-2009, 06:24 PM
  5. Replies: 3
    Last Post: 04-11-2009, 12:40 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
  •