iuskow Posted November 5, 2015 Posted November 5, 2015 i want something like a top 10 players with more kills number , a painel when i click for exemple "F7" open a top10 players someone know how can i do that? please
jingzhi Posted November 15, 2015 Posted November 15, 2015 i want something like a top 10 players with more kills number , a painel when i click for exemple "F7" open a top10 playerssomeone know how can i do that? please You can do that by using mySQL and some gui
Noki Posted November 15, 2015 Posted November 15, 2015 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now