so your npc's classname is not monster_*, you should set their classname to monster_* when your create them
Code:
public sphere(id)
{
new Float:origin[3], ent, classname[32]
pev(id, pev_origin, origin)
while((ent = fm_find_ent_in_sphere(ent, origin, 100.0)))
{
pev(ent, pev_classname, classname, 31)
if(equali(classname, "monster_zombie") || equali(classname, "monster_scientist") || equali(classname, "monster_barney"))
{
fm_set_rendering(ent,kRenderFxGlowShell,200,130,42,kRenderNormal,16)
console_print(id,"[DEBUG] Ents found: %d", ent)
}
}
return PLUGIN_HANDLED
}
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>