Quote:
Originally Posted by Konstantinos
This is incorrect:
pawn Код:
for(new x = 18; x != 0; x--)
The size of the array is 18 and that makes 0-17 as valid indexes. Your loops goes (backwards) from 18-1. Change to:
pawn Код:
for(new x = sizeof RankInfo - 1; x != -1; x--)
@[XST]O_x: "x" still starts at 18 and the first index will never be accessed.
|
Thank you, Konstantinos.
This problem has been solved.