11.07.2010, 10:44
When I use script like:
It will cause error 021: symbol already defined: "xx" on 5. line. Why?
There is everything ok:
but if I use 2+ arrays [..][..], it will cause error.
It is a pawn bug?
Код:
if (something) { new xx[5][5]; // 5 just for example }else{ new xx[5][5]; // error 021: symbol already defined: "xx" }
There is everything ok:
Код:
if (something) { new xx[5]; // 5 just for example }else{ new xx[5]; // 5 just for example }
Код:
if (something) { new xx[5][5][5]; // 5 just for example }else{ new xx[5][5][5]; // error 021: symbol already defined: "xx" }