SA-MP Forums Archive
Getting a "highscore" list. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Getting a "highscore" list. (/showthread.php?tid=109306)



Getting a "highscore" list. - Striker_Moe - 19.11.2009

Hi there.

All kills a player receives are stored inside the variable Kills[playerid]. How can I create something like a "highscore" board, which lists the best 5-10 players at the moment?

Thanks.


Re: Getting a "highscore" list. - LarzI - 19.11.2009

Like, should the highscore list be reset everytime you open the server, or should this be a best of all time highscore list?
Use textdraws (or dialogs, if it is what I think it is)


Re: Getting a "highscore" list. - Zeromanster - 19.11.2009

Here's a tutorial:

http://forum.sa-mp.com/index.php?topic=89568.0