Problem with Array
#3

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Код:
if (CarInfo[VehicleOwned[vehicleid]][cLock] == 1)
What the fuck kind of indexing is this dude? You should never have to do that since your CarInfo array can never be larger than MAX_VEHICLES anyways not to mention your indexing is out to lunch apart from that issue.
Sorry, but how can I fix that ?
Reply


Messages In This Thread
Problem with Array - by nemanjasepa - 19.02.2017, 21:07
Re: Problem with Array - by Pottus - 19.02.2017, 21:25
Re: Problem with Array - by nemanjasepa - 19.02.2017, 21:27
Re: Problem with Array - by Mencent - 20.02.2017, 12:08
Re: Problem with Array - by nemanjasepa - 20.02.2017, 12:14
Re: Problem with Array - by Pottus - 20.02.2017, 12:37
Re: Problem with Array - by nemanjasepa - 20.02.2017, 12:42
Re: Problem with Array - by nemanjasepa - 20.02.2017, 13:30
Re: Problem with Array - by Mencent - 20.02.2017, 14:09
Re: Problem with Array - by Pottus - 20.02.2017, 14:20

Forum Jump:


Users browsing this thread: 2 Guest(s)