SA-MP Forums Archive
Standings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Standings (/showthread.php?tid=622052)



Standings - Amads - 18.11.2016

Hello, I've been trying to figure out how to create a standings system, that is sorting players in an array according to their points.

I have player variables: vScore[MAX_PLAYERS], and an array vTop10[10] (which is supposed to store players with highest score, descending)

But to be honest I can't wrap my head around on how to do it. Could you give me any hint on how should I approach vTop10?


Respuesta: Standings - Swedky - 18.11.2016

Look at this: https://sampforum.blast.hk/showthread.php?tid=602584