need help with enum
#2

There is an alternat to use 2 Dimensional arrays
Create

Код:
enum lol
{
     a[20]
}
#define a][%0][%1] a][MAX_SIZE*%0 + %1]
Now you can use
Код:
new lol[2];
lol[1][a][0][5] //it will work :D
Use this forumla MAX_SIZE*num1 + num2

****** - Hope this works in PAWN.Will it??
Reply


Messages In This Thread
need help with enum - by mineralo - 02.05.2013, 17:29
Re: need help with enum - by Yashas - 02.05.2013, 18:55
Re: need help with enum - by mineralo - 02.05.2013, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)