Kindly please take a look,
Hi I am creating a multiplayer game, where i have an array named ary_marks which is a 2d array.At the ary_mark x position i am putting the player marks and at the y position i am putting the player name.So when the game is over i am looping the ary_marks foreach at xy and comparing the 3 highest values which gives me the correct answer. In the same above loop where i am comparing the values to find the largest 3 values i am also fetching player name in all 3 conditions using ary_mrk.At(ary_mrk.CurX,1) . But sometimes it gives me the name and some time it is not.
I really dont understand why this is happening.