06.03.2015, 13:47
Try this
#define foreach(%0) for(new %0 = 0; %0 <= GetPlayerPoolSize(); %0++) if(!IsPlayerConnected(%0)) continue;
Example :
foreach(i)
{
// code here
}
#define foreach(%0) for(new %0 = 0; %0 <= GetPlayerPoolSize(); %0++) if(!IsPlayerConnected(%0)) continue;
Example :
foreach(i)
{
// code here
}