Array Sorting help!
#3

even i can do that, u have sorted the array variable 'a' .. ok thats done.. i want to allocate the playerid for which a[x] belongs to which playerid...

Quote:

Sorted: 0 -> ID: 7
Sorted: 8 -> ID: 9
Sorted: 9 -> ID: 4
Sorted: 11 -> ID: 3
Sorted: 21 -> ID: 5
Sorted: 47 -> ID: 8
Sorted: 58 -> ID: 6
Sorted: 67 -> ID: 1
Sorted: 90 -> ID: 2
Sorted: 99 -> ID: 0

in above example, sorted a[1] = 8 which it belongs to the playerid '9' ... can u understand?
Reply


Messages In This Thread
Array Sorting help! - by Unknown1234 - 23.12.2013, 15:12
Re: Array Sorting help! - by Patrick - 23.12.2013, 15:44
Re: Array Sorting help! - by Unknown1234 - 23.12.2013, 15:59
Re: Array Sorting help! - by Pottus - 23.12.2013, 16:09
AW: Array Sorting help! - by BigETI - 23.12.2013, 16:16
Re: AW: Array Sorting help! - by Patrick - 23.12.2013, 16:24
AW: Array Sorting help! - by BigETI - 23.12.2013, 16:47
AW: Array Sorting help! - by Nero_3D - 23.12.2013, 17:05
Re: Array Sorting help! - by Unknown1234 - 24.12.2013, 03:24

Forum Jump:


Users browsing this thread: 3 Guest(s)