Code:
register_forward(FM_Think, "_FM_Think");
public _FM_Think(ent)
{
static class[32];
pev(ent, pev_classname, class, 31);
if(equal("One Your checking", class))
{
// Do stuff
}
}
Or if you know the ent index and the ent going to be there for awhile. Then I would just store the ent index and compare it.
__________________