Thread: Big help please

Results 1 to 3 of 3
  1. #1 Big help please 
    Donator


    Join Date
    Aug 2012
    Posts
    2,462
    Thanks given
    312
    Thanks received
    459
    Rep Power
    457
    Hey i want to know how i can grab the top 5 people in my sever who have the highest killstreak and put them in like a interface such as a quest tab or something. Its like high scores but no exactly.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Dec 2011
    Posts
    967
    Thanks given
    234
    Thanks received
    208
    Rep Power
    0
    Add all of them a list and then sort it, e.g.

    Code:
    	static LinkedList<Integer> killStreakBoard = new LinkedList<Integer>();
    You can push all the killstreaks into it and then just sort it like

    Code:
    Collections.sort(killStreakBoard, Collections.reverseOrder());
    You'd want to save it on some txt file so you can load it upon login (unless you want only the killstreaks of the people currently online)
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Aug 2012
    Posts
    2,462
    Thanks given
    312
    Thanks received
    459
    Rep Power
    457
    Quote Originally Posted by Icandoit View Post
    Add all of them a list and then sort it, e.g.

    Code:
    	static LinkedList<Integer> killStreakBoard = new LinkedList<Integer>();
    You can push all the killstreaks into it and then just sort it like

    Code:
    Collections.sort(killStreakBoard, Collections.reverseOrder());
    You'd want to save it on some txt file so you can load it upon login (unless you want only the killstreaks of the people currently online)
    i mean tto say kills and i tried this and it isnt working.... not sure whats wrong. its not saving in the txt or showing up in the id "691"
    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. I need big help please
    By xinfectionx in forum Help
    Replies: 12
    Last Post: 03-16-2012, 02:08 AM
  2. Need Big help please
    By mlgnightmare in forum Help
    Replies: 0
    Last Post: 03-06-2011, 10:44 PM
  3. BIG help please!!!
    By bals of gold in forum Help
    Replies: 2
    Last Post: 02-01-2010, 09:58 PM
  4. Need big help!!! Please help me fix this.
    By harraj128 in forum Help
    Replies: 1
    Last Post: 10-26-2009, 02:09 PM
  5. NEED BIG HELP PLEASE 2 probs
    By pillpoper7 in forum Help
    Replies: 1
    Last Post: 07-08-2009, 10:17 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
  •