Simple, your array holding your checkpoint's is out of bounds, so add one extra and recompile
![Smiley](images/smilies/smile.png)
Had this same bug before, i had 5 checkpoints so i entered 5, well same problem.
I entered 6, and everything worked perfectly (maybe a tiny bug of samp, idk)