thats nice :O
|
|
well, thanks to zombiedevice's help i've uncovered the real count players in area. here is the code, figure out how to use it.
change the restart pits to w/e u area is!
put in playerhandler.java
Code:public static int getPlayerCountInArea() { int count = 0; for (int i = 0; i < players.length; i++) { if ((players[i] != null) && !players[i].disconnected) { if(((client)players[i]).restartpit()) count++; } } return count; }
creds to zombie device!!!!

thats nice :O
ty, remember creds to zombie device!
please provide void. restartpit()

| « Heres some cool commands to add to your server | Npc dialogue + features » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |