11.11.2012, 10:15
Hello
I have this code:
That code should do this:
ContactNumber[1] to ContactNumber[0]
ContactNumber[2] to ContactNumber[1]
ContactNumber[3] to ContactNumber[2]
etc.
But right now it`s doing like this:
ContactNumber[1] to ContactNumber[0]
ContactNumber[2] to ContactNumber[0]
ContactNumber[3] to ContactNumber[0]
Etc.
How can i resolve this problem?? (Look the bold things, there is the problem)
I have this code:
Код:
new a = 0; while(a < 14) { PlayerInfo[playerid][ContactNumber][a + 1] = PlayerInfo[playerid][ContactNumber][a]; a++; }
ContactNumber[1] to ContactNumber[0]
ContactNumber[2] to ContactNumber[1]
ContactNumber[3] to ContactNumber[2]
etc.
But right now it`s doing like this:
ContactNumber[1] to ContactNumber[0]
ContactNumber[2] to ContactNumber[0]
ContactNumber[3] to ContactNumber[0]
Etc.
How can i resolve this problem?? (Look the bold things, there is the problem)