enumerator issues
#1

Is there any way to create an enumerator with multiple values without receiving errors? An example would be

pawn Код:
enum demoinfo
{
    TestVar[5][128], // <--- This
};

new demosinfo[MAX_DEMOS][demoinfo];
Thanks.
Reply
#2

enum does not support arrays 2D.



PHP код:
// try this
new testvar[5][128] = 
{
   
// your stuff.

Reply
#3

yeah i knew it would work with an array, just kept trying with an enum, no luck. thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)