Symbolic subscript arrays, tags
#1

Why don't they work in sa-mp?

pawn Code:
new EX_g_Map[bool: .init,.name{32},bool: .cache];
EX_g_Map[.init] = true;
The above code goes highwire and spits a couple errors. I wonder why?

Also: Is there a way to create your own tags? Since it doesn't seem to work for me trying constants at least.

pawn Code:
const Map: {init=0,name[32],cache};
The above doesn't work either. So yeah, is it possible to define your own tags or will you have to depend on #defines?

Thanks for the answers, couldn't really find much on it.
Reply


Messages In This Thread
Symbolic subscript arrays, tags - by Extremo - 08.06.2012, 01:29
Re: Symbolic subscript arrays, tags - by Jonny5 - 08.06.2012, 01:52
AW: Symbolic subscript arrays, tags - by Extremo - 08.06.2012, 02:45
Re: Symbolic subscript arrays, tags - by MP2 - 08.06.2012, 03:13
AW: Re: Symbolic subscript arrays, tags - by Extremo - 08.06.2012, 03:41
AW: Symbolic subscript arrays, tags - by Extremo - 08.06.2012, 04:20

Forum Jump:


Users browsing this thread: 2 Guest(s)