01.06.2011, 21:39
Well, first of all the advice Sasino gave you use advice I advice you not to use. (lol).
Why would you make a new textdraw for 5 ranks? Why not one textdraw?
And when the scoreboard displays:
Define name and score yourself.
For the "i", use quicksort.
Create the quicksort function or try to find one.
Nevemrind, I found one for you.
Quicksort function created by Ryder`. He even made a script for you to show the top5, what do you need more?
http://forum.sa-mp.com/showpost.php?...2&postcount=44
Good luck.
Why would you make a new textdraw for 5 ranks? Why not one textdraw?
pawn Код:
Textdraw6 = TextDrawCreate(28.000000, 169.000000, "_");
pawn Код:
new stuff[128];
format(stuff, sizeof(stuff), "~n~%d. %s Score: %d", i, name, score);
For the "i", use quicksort.
Create the quicksort function or try to find one.
Nevemrind, I found one for you.
Quicksort function created by Ryder`. He even made a script for you to show the top5, what do you need more?
http://forum.sa-mp.com/showpost.php?...2&postcount=44
Good luck.