Jump to content

Someone know how to do a painel for top 10 killers


iuskow

Recommended Posts

  • 2 weeks later...

dbQuery(db, "SELECT `kills`,`playername` FROM `stats` ORDER BY `kills` DESC LIMIT 10")

I would recommend using a callback there instead of a singular query. Then just send it to the client, who should have triggered a serverside event with the above query in it (also means you will be using 'client'). From there, just loop through the resulting table and create gridlist rows containing the data.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...