19.07.2011, 20:30
Okay, I have 8 playerid's
0,1,2,3,4,5,6,7 are online..Ii need to randomly select 4 of those 8
so I randomly select 2,5,3,7 that leaves 0,1,4,6
Group 1:
Var[0] = 2
Var[1] = 5
Var[2] = 3
Var[3] = 7
Group 2:
Var[4] = 0
Var[5] = 1
Var[6] = 4
Var[7] = 6
and i can't do new = random, because playerid's can be yea..you know
0,1,2,3,4,5,6,7 are online..Ii need to randomly select 4 of those 8
so I randomly select 2,5,3,7 that leaves 0,1,4,6
Group 1:
Var[0] = 2
Var[1] = 5
Var[2] = 3
Var[3] = 7
Group 2:
Var[4] = 0
Var[5] = 1
Var[6] = 4
Var[7] = 6
and i can't do new = random, because playerid's can be yea..you know