[Help] Top 10 System
#1

Hello, I am developing a ranking system, with the 10 best players on the server (with more score), I would like to know how to create an order, from highest to lowest, considering that rank includes players offline, and yes, I know I need to save their score on some database, and I did this with DOF2.

Suppose I have 10 players, each with a different score, how do I put them in order from highest to lowest?

saving the id of each in an Array, for example:

PHP код:
new topserver[11]
//Code here
topserver[1] = // such a player id
//Code here
topserver[2] = //another player id 
so forth...
Reply


Messages In This Thread
[Help] Top 10 System - by ApolloScripter - 05.12.2018, 19:19
Re: [Help] Top 10 System - by v1k1nG - 05.12.2018, 19:45
Re: [Help] Top 10 System - by GameOvr - 06.12.2018, 03:35
Re: [Help] Top 10 System - by andrejc999 - 06.12.2018, 07:35
Re: [Help] Top 10 System - by andrejc999 - 06.12.2018, 09:00
Re: [Help] Top 10 System - by Kaliber - 06.12.2018, 09:04
Re: [Help] Top 10 System - by GTLS - 06.12.2018, 11:48
Re: [Help] Top 10 System - by ApolloScripter - 06.12.2018, 15:14
Re: [Help] Top 10 System - by Kane - 06.12.2018, 15:24
Re: [Help] Top 10 System - by Doddinger - 06.12.2018, 18:19

Forum Jump:


Users browsing this thread: 5 Guest(s)