command makes cars and everything bugged
#4

You define
new bool:unwanted[CAR_AMOUNT];

and then you use
for(new car = 1; car <= 2000; car++)

Most likely CAR_AMOUNT is smaller or equal to 2000 and you try to read unwanted[CAR_AMOUNT or higher]

try
for(new car = 1; car < CAR_AMOUNT; car++)

notice it's < not <= because an array of the size 2000 starts with 0 and goes to 1999 only
Reply


Messages In This Thread
command makes cars and everything bugged - by Aftemark - 11.02.2013, 10:56
AW: command makes cars and everything bugged - by roym899 - 11.02.2013, 11:40
Re: command makes cars and everything bugged - by Aftemark - 11.02.2013, 11:43
AW: command makes cars and everything bugged - by roym899 - 11.02.2013, 11:48
Re: command makes cars and everything bugged - by Aftemark - 12.02.2013, 12:06
Re: command makes cars and everything bugged - by Aftemark - 12.02.2013, 12:15

Forum Jump:


Users browsing this thread: 1 Guest(s)