06.12.2014, 13:44
pawn Код:
for(new i=1; i < MAX_FAMILY; i++)
pawn Код:
new FamilyInfo[MAX_FAMILY][EnumFamily];
Your loop ran from 1 to 1000 because of the "i <= MAX_FAMILY".
You have to run it from 1 to MAX_FAMILY-1, or just use the above code (i < MAX_FAMILY).
That's why your command gave you "Unknown command" because it crashed while accessing the array at index 1000, while the max index is only 999 (index-out-of-bounds error).
And that's also when you set the loop to run from 1 to 950, everything works fine, because you won't go outside the array's lower or upper indices.

