17.04.2009, 03:34
"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
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