28.08.2015, 16:56
Quote:
Yeah you just need a simple quicksort for that.
I made a pretty good implementation that doesn't use recursion, which makes it safe from stack overflows. http://forum.sa-mp.com/showpost.php?...postcount=3437 |
[time][playerid] the time is in milliseconds so if someone (hacker) finishes with time 1 second (1000ms) it wont sort it but if someone finishes with 1001ms it will sort it.