pfn_spawn, interesting. So it catches the entity as it is spawned and checks if it is func_water. Yes it sounds better than looping thru all of them after they've all loaded up.
So like this?
PHP Code:
pfn_spawn(ent)
{
new sz_classname[32]
pev(ent, pev_classname, sz_classname, charmax(sz_classname));
if(equal(sz_classname, "func_water"))
blah, blah...
}
__________________