View Single Post
Re: Problem with the sounds in AMX
Old
  (#8)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default 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?
  
Reply With Quote