11.01.2013, 16:24
The sizeof operator should work. If you use MAX_VEHICLES then you'll go out of bounds which will just make things worse. Invalid symbol name really only pops up if you try to use a reserved word or a function name as the name of a variable. Doing something like "new static" would trigger this error.