Thread: [PI] Project insanity help

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 [PI] Project insanity help 
    Registered Member
    Join Date
    Jun 2010
    Posts
    132
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    How do i make a pk area and make it so that when they die in that certain area that the people do not lose their stuff? i cantz figure it out
    Reply With Quote  
     

  2. #2  
    Registered Member Kristjan's Avatar
    Join Date
    Apr 2009
    Posts
    1,578
    Thanks given
    709
    Thanks received
    189
    Rep Power
    588
    Use isinarea method or inarea method...Pretty easy to do.
    Spoiler for Signature:
    Previously known as: 508gu
    Quote Originally Posted by SamSoft View Post
    Vouch for Korra Legit, First pin Sold So now the 9m is off the table.
    Quote Originally Posted by Zoltz View Post
    vouch, quick trade very smooth will trade w/ again.
    Quote Originally Posted by Bundy View Post
    Very Legit Seller, Bought 170k Already, Still Buying More Of Him, Cheap Prices!
    Quote Originally Posted by Bundy View Post
    Vouch, Very Good Guy, Purchased Again !
    Quote Originally Posted by eduber1 View Post
    vouch service went fast and smoothly
    Quote Originally Posted by Jinrake View Post
    vouch bru
    Reply With Quote  
     

  3. #3  
    Registered Member
    .Dan's Avatar
    Join Date
    Sep 2008
    Age
    28
    Posts
    873
    Thanks given
    54
    Thanks received
    115
    Rep Power
    494
    Check the method where are dropped items and add an if.

    if (c.inArea(blabla)) {
    return;
    }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Posts
    132
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Hmm im kinda new to insanity i dont understand what your trying to tell me because im used to normal 317s you know how you just make a box with coords
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    May 2008
    Age
    30
    Posts
    538
    Thanks given
    117
    Thanks received
    42
    Rep Power
    12
    Its not the insanity its the part where you dont know java..
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2010
    Posts
    132
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    well can you stop being an asshole and at least help me im trying to learn it well enough........
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    They did help you, moron.

    Make it so that when they teleport to the pk, a boolean is set to true, and when they die, if that boolean is true don't remove any items and set the boolean to false.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Chiief's Avatar
    Join Date
    Jun 2010
    Posts
    1,544
    Thanks given
    69
    Thanks received
    238
    Rep Power
    611
    Quote Originally Posted by Pker-Ownz View Post
    Its not the insanity its the part where you dont know java..
    Exactly..

    Trust me dixie don't even try and code out of common sense or on pure help alone. I used to code literally from common sense and I didn't get too far without asking for help. Learn java then you will see what we are talking about.
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    The best way is to look at how other things do it, and adapt it.
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Oct 2008
    Posts
    395
    Thanks given
    22
    Thanks received
    9
    Rep Power
    0
    It's pretty simple.. just go in player.java add something like this

    Code:
    	public boolean pknodie() {
    		if(absX > 3331 && absX < 3391 && absY > 3242 && absY < 3260) {	
    			return true;
    		}
    		return false;
    	}
    Then go in PlayerAssistant and find the public void applyDead() { or something like that and figure it out
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

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