Thread: (z508) making mod+ not losing stuff :)

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11  
    Registered Member
    Ninja assassin's Avatar
    Join Date
    Oct 2008
    Posts
    1,971
    Thanks
    218
    Thanked 109 Times in 78 Posts
    Rep Power
    77
    Quote Originally Posted by ChrissyDee View Post
    nah admins dont lose stuff with tht code too lol idk how it works....=\
    it works for mee lol...umm let me just double chek lol
    btw help me here: Z508 Urgent Help Please
    Spoiler for Alert:
    www.facebook.com/profile.php?=73322363 <-- this person is very dangerous, if you see him in public approach with caution and alert the local authorities
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    Sep 2009
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    1
    And if you want admins to lose items make it rights 3+
    Reply With Quote  
     

  3. #13  
    Registered Member
    Join Date
    Jan 2010
    Posts
    585
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Rep Power
    2
    Thanks, even tho it uneeded and way easy to be released.
    Reply With Quote  
     

  4. #14  
    Super Donator

    Sydney's Avatar
    Join Date
    Jul 2009
    Age
    20
    Posts
    560
    Thanks
    184
    Thanked 175 Times in 119 Posts
    Rep Power
    867
    Quote Originally Posted by pranavninja1 View Post
    lol, you have just changed p.right to "1" from "2" and now that code will make admins loose all item, i just addd p right for admins too:

    Code:
    	public void appendDeath() {
    		if (deathDelay == 0 && isDead) {
    			Player opp = Server.engine.players[hitIndex];
    
    			try {
    				if (rights < 1) {
    					dropStuff(opp.username);
    				}
    				if (rights < 2) {
    					dropStuff(opp.username);
    				}
    If there is a pro coder who can help me, then could you see this and help me.. it kind of related to this...
    Z508 Urgent Help Please
    Uhmmmmm, no. Let me explain this to you. the line that says "if (rights < 1) {" means that If you're a rank less than a mod, you'll lose your stuff. You added another if statement like "if (rights < 2) {" which is totally unneeded. Because admins have the right of 2, they won't lose stuff. It means if your rights are less than 1 (mod), you lose your stuff.

    Also to the one who said that you just set it to three so admins don't lose stuff, that's also fail. Admin's rights are 2. But this works....

    EDIT:
    Evidence of leeched:
    Quote Originally Posted by ChrissyDee View Post
    nah admins dont lose stuff with tht code too lol idk how it works....=\


    Spoiler for lulz:








    Reply With Quote  
     

  5. #15  
    Nope

    Vaio's Avatar
    Join Date
    Jun 2008
    Age
    19
    Posts
    703
    Thanks
    10
    Thanked 22 Times in 14 Posts
    Rep Power
    629
    L Admins on my server lose items cause its unfair 2 normal players that kill them
    Reply With Quote  
     


Page 2 of 2 FirstFirst 12
Thread Information
Users Browsing this Thread

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

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •