Scoreboard
#8

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?
pawn Код:
Textdraw6 = TextDrawCreate(28.000000, 169.000000, "_");
And when the scoreboard displays:
pawn Код:
new stuff[128];
format(stuff, sizeof(stuff), "~n~%d. %s      Score: %d", i, name, score);
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.
Reply


Messages In This Thread
Scoreboard - by 0_o - 29.05.2011, 20:29
Re: Scoreboard - by Cenation - 31.05.2011, 15:52
Re: Scoreboard - by 0_o - 31.05.2011, 15:54
Re: Scoreboard - by 0_o - 31.05.2011, 16:13
Re: Scoreboard - by Sasino97 - 31.05.2011, 16:34
Re: Scoreboard - by 0_o - 31.05.2011, 20:58
Re: Scoreboard - by 0_o - 01.06.2011, 21:28
Re: Scoreboard - by Biesmen - 01.06.2011, 21:39
Re: Scoreboard - by 0_o - 01.06.2011, 22:12
AW: Scoreboard - by Nero_3D - 01.06.2011, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)