21.11.2010, 07:15
That would be more complicated, but not necessarily hard. I gave you a base code, so build off of it - You will be required to use your personal knowledge here.
You will need to make so the highscore variable is an array, of three slots. Then check if the score of the current player id is above any of them. If the first, move down the other two, second, move down the last, etc. It's all more if statements and math.
You will need to make so the highscore variable is an array, of three slots. Then check if the score of the current player id is above any of them. If the first, move down the other two, second, move down the last, etc. It's all more if statements and math.