Posts: 352
Threads: 37
Joined: Jun 2012
pawn Code:
for(new i, j = cache_num_rows(); i < j ; i++)
When you're using your new loop (i <= j) you're looping until i is equal to number of rows, but row indexes start from 0, not 1. You have to use i < j, so it stops just before it.