SA-MP Forums Archive
Return players but not in order of their ids - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Return players but not in order of their ids (/showthread.php?tid=120576)



Return players but not in order of their ids - FreeSoul - 11.01.2010

I would like some commands to return players but not in the order of their ID

Like for example when I type /admins instead of returning them in the order of their IDS

X[ID:1][Admin Level] - 4]
Y[ID:45][Admin Level] - 2]
Z[ID:63][Admin Level] - 1000]

It should return them in the order of their Admin Level

Y[ID:45][Admin Level] - 2]
X[ID:1][Admin Level] - 4]
Z[ID:63][Admin Level] - 1000]