• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] How does one make a top5 ranking?
#1
I don't have the idea of how to make a top 5 ranking, like top 5 killers of the server, what do I need to do in order to script something like that?
  Reply
#2
If you're using sql, You can use SELECT and ORDER BY clauses to fetch the results from database. For example,
Code:
SELECT username, kills FROM `users` ORDER BY kills DESC LIMIT 5
[Image: QIDa2vB.png]

  Reply
#3
I recommend you to save into a database, so you can find anytime what you're seeking just how Snow explained.
Check out Desolation Roleplay, where zombie AI and scavenging is bothered by player bandits!


  Reply


Forum Jump: