SA-MP Forums Archive
TOP Players in MYSQL? - 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: TOP Players in MYSQL? (/showthread.php?tid=289801)



TOP Players in MYSQL? - Ricop522 - 13.10.2011

How I make this ?
And count all the users, etc. ?

thanks for u help !


Re: TOP Players in MYSQL? - [HiC]TheKiller - 13.10.2011

Top score / other value.

https://sampforum.blast.hk/showthread.php?tid=192868 (For SQLite but you will get the point).
https://sampforum.blast.hk/showthread.php?tid=253432
https://sampforum.blast.hk/showthread.php?tid=269875
https://sampforum.blast.hk/showthread.php?tid=273787
https://sampforum.blast.hk/showthread.php?tid=282052

Btw, ****** is your friend .

Get all users could be done with the count function or just retrieving one field of all the rows and using mysql_num_rows.


Re: TOP Players in MYSQL? - Ricop522 - 13.10.2011

Thanks +rep