Because his find_ent_by_class only searches for func_door's.
Code:
new ent, Float:origin[3], Float:radius;
while((ent = find_ent_in_sphere(ent,origin,radius)) != 0) {
new classname[32];
entity_get_string(ent,EV_SZ_classname,classname,31);
client_print(0,print_console,"%s (%d)^n",classname,ent);
}
origin and radius need a value.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS