Deleting the smallest variables. - 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: Deleting the smallest variables. (
/showthread.php?tid=495636)
Deleting the smallest variables. -
audriuxxx - 18.02.2014
Hi,
I have like ex that variables:
Код:
BLABLA[ playerid ][ 0 ] = 105;
BLABLA[ playerid ][ 1 ] = 106;
BLABLA[ playerid ][ 2 ] = 108;
BLABLA[ playerid ][ 3 ] = 110;
BLABLA[ playerid ][ 4 ] = 111;
BLABLA[ playerid ][ 5 ] = 120;
BLABLA[ playerid ][ 6 ] = 125;
BLABLA[ playerid ][ 7 ] = 135;
BLABLA[ playerid ][ 8 ] = 145;
BLABLA[ playerid ][ 9 ] = 155;
How now to check, how to get 5 variables which value is highest? and then other values