16.09.2017, 15:37
I feel a lil' stupid right now, but I have a simple question:
How to solve this? I know I can assign one by one, don't write me that, I just want to get array reference. I've tried:
pawn Код:
enum Test {
Float:WTF[3]
}
new Foo[5][Test];
main() {
new Float:a[3];
a = Foo[0][WTF]; // index tag mismatch
}
pawn Код:
a = Float:(Foo[0][WTF]);
// and
a = Foo[0][Float:WTF];
// and
a = Foo[0][WTF][0];