26.09.2011, 17:21
It must be [4] since
Error if it's [3]
Код:
new rnd = random(sizeof(SpawnPoints)); SetPlayerPos(playerid, SpawnPoints[rnd][0], SpawnPoints[rnd][1], SpawnPoints[rnd][2]); SetPlayerFacingAngle(playerid, SpawnPoints[rnd][3]); SetCameraBehindPlayer(playerid);
Код:
error 032: array index out of bounds (variable "SpawnPoints")