title: Array index out of bounds error Pawn
body: <p>I am using spawn points but when it compiles I'm getting this error:</p>
  
  <pre><code>Array index out of bounds
  </code></pre>
  
  <p>On this line is the error</p>
  
  <pre><code>for(new i =0 ; i &lt; 5 ;i++) {
      SetPlayerPos(playerid, spawnpoints[i][0], spawnpoints[i][1], spawnpoints[i][2]);
  } 
  </code></pre>
  
  <p>Hoping somebody knows the solution to the error.</p>