SA-MP Forums Archive
[HELP]Best 3 Players in server?? - 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: [HELP]Best 3 Players in server?? (/showthread.php?tid=105683)



[HELP]Best 3 Players in server?? - TraNe15 - 30.10.2009

Hi everyone.. I need a script like that;

Best Player
-------------------------------
Name Kills
1)Trane15 8
2)BLaBla 5
3)BlaBla2 4

Thanks for your helps..


Re: [HELP]Best 3 Players in server?? - Think - 30.10.2009

Maybe a bit more info, like are you using mysql? or text based accounts.


Re: [HELP]Best 3 Players in server?? - TraNe15 - 30.10.2009

When player type /bestp a "SendClientMessageToAll" will send like that;

Best Player
-------------------------------
Name Kills
1)Trane15 8
2)BLaBla 5
3)BlaBla2 4

It's simple..


Re: [HELP]Best 3 Players in server?? - TraNe15 - 31.10.2009

Hey please help mee..


Re: [HELP]Best 3 Players in server?? - member - 31.10.2009

Well, I remember asking for help with this once a long time ago, lucky for you there is something.

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

Thanks to ♣ ⓐⓢⓢ for the code which I am still using.

It works a treat.

Good Luck.

EDIT: Zezombia's code also works fine, but it will only show the top killer, not the top 3.