Loops once only?
#6

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Yeah, but when you create vehicle/object/pickup or anything and assign it to the array, it will start from 1 for some reason. That's why I started from 1.

I tried bigger numbers or anything, and its still the same.
It will assign a value to it which might start from 1, but the first index will be 0.

pawn Код:
WeaponObjects[ 0 ] = 1;
WeaponObjects[ 1 ] = 2;
Like the example above, it will start with index 0, but the value will start with number 1 as you said.

There's absolutely no reason to start from index 0, when it only assigns a value that starts from 1 to it.
Reply


Messages In This Thread
Loops once only? - by Riddick94 - 11.09.2013, 18:19
Re: Loops once only? - by Macluawn - 11.09.2013, 18:39
Re: Loops once only? - by Riddick94 - 11.09.2013, 18:42
Re: Loops once only? - by Konstantinos - 11.09.2013, 18:53
Re: Loops once only? - by Riddick94 - 11.09.2013, 19:01
Re: Loops once only? - by Konstantinos - 11.09.2013, 19:10
Re: Loops once only? - by Riddick94 - 11.09.2013, 19:27
Re: Loops once only? - by Konstantinos - 11.09.2013, 19:46
Re: Loops once only? - by Riddick94 - 11.09.2013, 19:55
Re: Loops once only? - by Konstantinos - 11.09.2013, 20:00

Forum Jump:


Users browsing this thread: 2 Guest(s)