22.03.2013, 17:37
pawn Код:
for(new i = 0; i != sizeof(CarsPrices) - 3; i += 4)
You are accessing i, .. i +3. With your current incrementation on second iteration you will have i+3, ... i+6 - your last and first elements are overlapping. Last iteration: sizeof(CarsPrices) - 4, ... sizeof(CarsPrices) - 1