06.02.2015, 21:43
How do you loop through an array in a enumerator? (I think i've heard that it's called something else, but can't remember what)
Etc. something like this:
Although it doesn't work, i've tried many different methods, but i can't get it working, couldn't find anything about this when searching either.
Etc. something like this:
pawn Код:
enum test
{
something[9]
}
new Testing[MAX_PLAYERS][test];
pawn Код:
CMD:test(playerid, params)
{
for(new p; p < sizeof(Testing[playerid][something]); p++)
{
Testing[playerid][something][p] = 0;
}
}