"For" loop breaking a command?
#2

It's most likely this line:

pawn Код:
gHouseData[i][EXIST] != 0
If you call any number greater then the array size, it will break the code. (I suck at explaining things)

Try replacing this line:
pawn Код:
for(new i = 0; i<MAX_HOUSES; i++)
I get this problem a lot.
Reply


Messages In This Thread
"For" loop breaking a command? - by dowster - 12.07.2011, 04:10
Re: "For" loop breaking a command? - by PotH3Ad - 12.07.2011, 05:36
Re: "For" loop breaking a command? - by dowster - 14.07.2011, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)