I'm hooking (*g_engfuncs.pfnRemoveEntity) => void RemoveEntity (edict_t *e) in Metamod
and have noticed that it does nothing. The trace plugin also fails to register any
results for RemoveEntity (with proper tracers set). I've tried directly calling
REMOVE_ENTITY numerous times and the hooks do not register.
Has anyone else successfully hooked RemoveEntity? What could I be doing wrong?
void RemoveEntity(edict_t *e)
{
SERVER_PRINT("This is a test.\n");
RETURN_META(MRES_SUPERCEDE);
}
-----David "BAILOPAN" Anderson
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders