need help one with hashmaps other snowgolem?

Discussion in 'Plugin Development' started by welsar55, Feb 11, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    welsar55

    first i have the player names stored and a int im trying to get the player with the biggest number but i only want 1 result 2 this is more for fun its ok if theres not simple way how would i make a player look like a snowgolem?
     
  2. Offline

    caseif

    To get the largest value in the HashMap, first create an int of 0, then loop through the HashMap values, checking if each value is larger than the int. If it is, set the int to the value of that key. As for making a player look like a snow golem, I'm fairly certain you'll need to mess with packets, which can be a pain. :/
     
  3. Offline

    welsar55

    snowGolem :( put im going to test the hashmap now
     
Thread Status:
Not open for further replies.

Share This Page