Re: Problem with the sounds in AMX -
28-05-2005
I think he means is:
Make a enginefuncs_t variable...
memcpy the engine functions into it...
variable.pfnXXX = ourhookedfunc...
mod_givefnptrstodll( &variable, pGlobals );
That way should make it so you don't need to hook __every__ function.
Or maybe I'm wayyyyy off?
|