High score - 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: High score (
/showthread.php?tid=635714)
High score -
Loinal - 12.06.2017
Hey i wanted to know how can i show a dialog with 30 players that has the best score in the server iam using mysql how can i get them?
Re: High score -
Loinal - 15.06.2017
bumb
Re: High score -
StrikerZ - 15.06.2017
http://forum.sa-mp.com/showpost.php?...postcount=1760
Re: High score -
saffierr - 15.06.2017
That's basically one of the easiest query you can have in mysql.
Create a variable to hold the score
Then execute a query to get all the scores
Then check which score is the highest
And so on