Show me the plugin that contains that function. If I'm correct, it returns the total # of ents matching the specified classname. I think this is for NS though..
If you're trying to do just that, try this out:
Code:
stock get_ent(classname[])
{
new iEnt, iNum = 0;
while((find_ent_by_class(iEnt, classname)) != 0)
iNum++;
return iNum;
}
__________________