Код:
new start = 0;
public OnFilterScriptInit()
{
SetTimer("Timer2",25,1);
return 1:
}

public Timer2()
{
for(new i=start; i < 500; i+=2)
{
}
start = (start == 1)? 0: 1;
}