Array out of bounds - wth?
#1

My code:
pawn Код:
new Float:pos1[3],Float:pos2[3];
                GetPlayerPos(Duel1,pos1[1],pos1[2],pos1[3]);
                GetPlayerPos(Duel2,pos2[1],pos2[2],pos2[3]);
My errors:
pawn Код:
C:\Users\hummhumm :D\troll1.pwn(1323) : error 032: array index out of bounds (variable "pos1")
C:\Users\hummhumm :D\troll1.pwn(1324) : error 032: array index out of bounds (variable "pos2")
Can you help me with multidimensional arrays' creation?
Reply


Messages In This Thread
Array out of bounds - wth? - by Seven_of_Nine - 20.05.2011, 16:07
Re: Array out of bounds - wth? - by LetsOWN[PL] - 20.05.2011, 16:11
Re: Array out of bounds - wth? - by Seven_of_Nine - 20.05.2011, 16:22

Forum Jump:


Users browsing this thread: 2 Guest(s)