[Help]Changing data in a array in a enumerator?
#6

Quote:
Originally Posted by CatFish
Посмотреть сообщение
*sigh*
i was hoping i wouldn't need to do that (array1, array2 etc)

Thanks for the information.
Sorry, i provided false information.
I thought that you need something like this
pawn Код:
enum Arrays
{
    MyArray[5][5], // This will be 3D array
};
i messed something up

Just do it like this

pawn Код:
enum Arrays
{
    MyArray[5],
};
new InfoArrays[5][Arrays];
main()
{
   InfoArrays[0][MyArray][0] = 2;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)