iuskow Posted November 5, 2015 Share 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 Link to comment
aka Blue Posted November 6, 2015 Share Posted November 6, 2015 This is not the correct section... Link to comment
jingzhi Posted November 15, 2015 Share 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 Link to comment
Noki Posted November 15, 2015 Share 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. Link to comment
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