Code:
for (new a = 0; a < sizeof ents_list; a++)
{
if (engfunc(EngFunc_FindEntityByString, -1, "classname", ents_list[a]))
{
pause("a")
}
}
The boolean variable is completely unnecessary. It's also redundant to initialize boolean variables to false in Pawn as they're always 'zeroed', but I suspect you knew that.