Deleting the smallest variables.
#1

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)