SA-MP Forums Archive
[MySQL] Top 10 Players - 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)
+--- Thread: [MySQL] Top 10 Players (/showthread.php?tid=293741)



[MySQL] Top 10 Players - maxi459 - 29.10.2011

Hi,

I have a problem. Making a top 10 player with mysql. Already created a query but what's next? Please help, this is my request.

Code:
   format(query, sizeof(query), "SELECT `Name`, `Exp` FROM `players` ORDER BY `Exp` DESC LIMIT 10");
    mysql_query(query);



Re: [MySQL] Top 10 Players - [HiC]TheKiller - 29.10.2011

https://sampforum.blast.hk/showthread.php?tid=269875
https://sampforum.blast.hk/showthread.php?tid=282052
https://sampforum.blast.hk/showthread.php?tid=273787

There are some examples.


Re: [MySQL] Top 10 Players - maxi459 - 30.10.2011

thx TheKiller.