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