Loop help
#3

Don't use "idx" to both of them because it changes the value of the first loop and it actually should've given you a warning 219: local variable "idx" shadows a variable at a preceding level that you probably ignored.

And by the way, why do you start the loop from 1 at bussinesses? The index from arrays start from 0 (except the vehicles because vehicle/object IDs start from 1).
Reply


Messages In This Thread
Loop help - by jeffery30162 - 15.06.2014, 02:43
Re: Loop help - by jeffery30162 - 15.06.2014, 15:49
Re: Loop help - by Konstantinos - 15.06.2014, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)