samp-foreach
samp-foreach copied to clipboard
macros doesn't work well with IteratorArray and Iterator
when i try to use macros on foreach function, it results in
error 001: expected token: ";", but found ":"
warning 215: expression has no effect
error 029: invalid expression, assumed zero
like
#define TEST:: gng_
new Iterator:TEST::PLAYERS<GANG_MAX_PLAYERS>;
foreach(new pL : TEST::PLAYERS) // here
{
// ....
}