Array out of bounds - wth?
#2

Hm, thypical mistake.

Instead
pawn Код:
new Float:pos1[3],Float:pos2[3];
                GetPlayerPos(Duel1,pos1[1],pos1[2],pos1[3]);
                GetPlayerPos(Duel2,pos2[1],pos2[2],pos2[3]);
place
pawn Код:
new Float:pos1[3],Float:pos2[3];
                GetPlayerPos(Duel1,pos1[0],pos1[1],pos1[2]);
                GetPlayerPos(Duel2,pos2[0],pos2[1],pos2[2]);
NOW it will not return any error

~As always, LetsOWN
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: 1 Guest(s)