26.05.2011, 06:47
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
Thanks
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;
}