Use isinarea method or inarea method...Pretty easy to do.
|
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
Use isinarea method or inarea method...Pretty easy to do.
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
Its not the insanity its the part where you dont know java..
well can you stop being an asshole and at least help me im trying to learn it well enough........
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.
The best way is to look at how other things do it, and adapt it.
It's pretty simple.. just go in player.java add something like this
Then go in PlayerAssistant and find the public void applyDead() { or something like that and figure it outCode:public boolean pknodie() { if(absX > 3331 && absX < 3391 && absY > 3242 && absY < 3260) { return true; } return false; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |