FOREACH
#6

If you try to remove this

Код:
if(PlayerInfo[i][PlayerEventScore] > BestScore[0])
                {
                    BestScore[0] = PlayerInfo[i][PlayerEventScore];
                    BestID[0] = i;
                    PlayerPos[BestID[0]] = 1;
                    return true;
                }
                else if(PlayerInfo[i][PlayerEventScore] > BestScore[1] && PlayerInfo[i][PlayerEventScore] < BestScore[0])
                {
                    BestScore[1] = PlayerInfo[i][PlayerEventScore];
                    BestID[1] = i;
                    PlayerPos[BestID[1]] = 2;
                }
would it work? Try and tell me if it prints all on console.
Reply


Messages In This Thread
FOREACH - by Kqly - 21.01.2016, 21:54
Re: FOREACH - by Lucky13 - 21.01.2016, 21:56
Re: FOREACH - by Kqly - 21.01.2016, 21:57
Re: FOREACH - by Lucky13 - 21.01.2016, 21:59
Re: FOREACH - by Kqly - 21.01.2016, 22:01
Re: FOREACH - by Lucky13 - 21.01.2016, 22:04
Re: FOREACH - by Lucky13 - 21.01.2016, 22:06
Re: FOREACH - by Kqly - 21.01.2016, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)