Help with a loop.
#9

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
No because then it'd change every single car from the CarInfo?
No...
by doing
if(vehid == CarInfo[i][ownedvehicle])

in the loop it checks if your current vehicle is the owned one at the index of i, so everything in that check would only related to that vehicleid.
Reply


Messages In This Thread
Help with a loop. - by Jack_Leslie - 22.09.2011, 07:15
Re: Help with a loop. - by PrawkC - 22.09.2011, 07:57
Re: Help with a loop. - by Jack_Leslie - 22.09.2011, 08:00
Re: Help with a loop. - by PrawkC - 22.09.2011, 08:09
Re: Help with a loop. - by Jack_Leslie - 22.09.2011, 08:37
Re: Help with a loop. - by PrawkC - 22.09.2011, 09:10
Re: Help with a loop. - by Jack_Leslie - 22.09.2011, 09:13
Re: Help with a loop. - by GrimR - 22.09.2011, 09:35
Re: Help with a loop. - by PrawkC - 22.09.2011, 10:37

Forum Jump:


Users browsing this thread: 1 Guest(s)