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

Hey, I'm having trouble with setting parts of a array in a enumerator/array or whatever i have no clue.
I would like to know what am i doing wrong, is this even possible and if it is how to.

i based this example (which doesn't work of course) on the Sa-mp wiki's page on accessing data in a array

pawn Код:
#include <a_samp>

enum Test
{
    MyArray[5]
};


new MyTest[20][Test];

main()
{
    MyTest[0][MyArray[3]] = 2;
}
Thanks
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)