Problematic FOR function?
#4

"i" has a set amount.

determined at the beginning of the script using:

"#define SERVER_LINKCOUNT 11"

it runs until it reaches 11 and then it stops, so that can't be the problem as the indexed variable is equal to the above define as well, they are always linked.

enum SERVER_LINK_ARRAY
{
Floatutsidex,
Floatutsidey,
Floatutsidez,
outsideid,
Float:insidex,
Float:insidey,
Float:insidez,
insideid,
interior
}
new sLink[SERVER_LINKCOUNT][SERVER_LINK_ARRAY];


EDIT: All I had to do was remove the +1 from the FOR command
Reply


Messages In This Thread
Problematic FOR function? - by NovaParadox - 16.04.2009, 22:18
Re: Problematic FOR function? - by NovaParadox - 17.04.2009, 02:43
Re: Problematic FOR function? - by Joe Staff - 17.04.2009, 02:56
Re: Problematic FOR function? - by NovaParadox - 17.04.2009, 03:34
Re: Problematic FOR function? - by Joe Staff - 17.04.2009, 03:37

Forum Jump:


Users browsing this thread: 2 Guest(s)