Need help with a string
#3

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Because your server crashes with out of bounds error. Install crashdetect to see for yourself.

Either start counting cars from 0:
pawn Код:
for(new car = 0; car < MAX_VEHICLES; car++)
{
    if(!unwanted[car]) SetVehicleToRespawn(car + 1);
}
Or sacrifice slot 0 in your array to be unused and add one slot more.
pawn Код:
new bool:unwanted[MAX_VEHICLES + 1];
So, changing it to 0 will make the string work?
Reply


Messages In This Thread
Need help with a string - by Jing_Chan - 17.12.2014, 16:26
Re: Need help with a string - by Misiur - 17.12.2014, 16:37
Re: Need help with a string - by Jing_Chan - 17.12.2014, 17:15
Re: Need help with a string - by Misiur - 17.12.2014, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)