Hello.
I am making application that will fix score and then I want it to make list of players like 1st place 2nd etc. Some example:
So how to make it to do that?
I am making application that will fix score and then I want it to make list of players like 1st place 2nd etc. Some example:foreach (clsConnection c in Connections)
{
if (c.Username != "")
{
InSim.Send_BTN_CreateButton(c.PlayerName, Flags.ButtonStyles.ISB_LEFT, 5, 15, LocationX, 1, ButtonID1, C.UniqueID, 40, false);
InSim.Send_BTN_CreateButton("^7 " + c.Score, Flags.ButtonStyles.ISB_CLICK, 5, 10, LocationX, 16, ButtonID2, (C.UniqueID), 40, false);So how to make it to do that?
So I save those score like this - everyone have his Username.txt file and in that file he has his score. Now it prints me out users with their score in their username.txt order as they are in Users folder. How to get it to print with biggest score first?