error 001: expected token: "]", but found "-identifier-"
#1

Code:
for(new i = 0; i < sizeof(cInfo[][Weapon][]); i++) print(i);
I do not understand... I am accessing an array inside an array of an enum.
Reply
#2

You can't get the size of arrays inside an enumerator using sizeof, the only way is to specify it yourself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)