View Single Post
API
Veteran Member
Join Date: May 2006
Old 12-13-2011 , 15:37   Re: SourceHook - Possible to hook the same member object multiple times?
Reply With Quote #2

I feel like there would be a new hook every time. One of the nice things about SourceHook is the ability to chain virtual table hooks. I feel like much of that is lost if there is a limitation on hooks per member per plugin.

EDIT: That being said, I'm sure it would be as simple as maintaining a boolean to prevent duplicate hooks on specific members.
__________________

Last edited by API; 12-13-2011 at 15:38.
API is offline
Send a message via AIM to API