SA-MP Forums Archive
'For' using question - 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: 'For' using question (/showthread.php?tid=416795)



'For' using question - Saw® - 18.02.2013

Hey , how to get the highest variable for connected players? (using 'for')

& how to do like Top 10 ? checking the top , then the second player ......

thanks.


Re: 'For' using question - Saw® - 18.02.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
You mean the highest player ID, or the highest "X" (e.g. score) over all players?

For highest ID: Iter_Last(Player)

For any other option, and to answer your second question, sort the data: https://sampforum.blast.hk/showthread.php?tid=343172
thank you ! I meant the highest Variable (score as u said).
& ok I gonna check the link