09.03.2015, 12:53
Is it possible to get players rank by Score direct from database?
I mean sql function that would return 2 ID rank as #1, 1 ID rank as #2...
example: GetIDrank(2); would return 1;
example1: GetIDrank(0); would return 3;
ID Score
0 5
1 6
2 8
3 1
I mean sql function that would return 2 ID rank as #1, 1 ID rank as #2...
example: GetIDrank(2); would return 1;
example1: GetIDrank(0); would return 3;
ID Score
0 5
1 6
2 8
3 1