View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-06-2020 , 08:40   Re: Detour the same function twice
Reply With Quote #6

Quote:
Originally Posted by kadet.89 View Post
Am I right?
Yes.

Quote:
Originally Posted by kadet.89 View Post
How is it handled in virtual function hooking? the same virtual function can be hooked/unhooked many times without such problems.
That is the primary reason for Metamod:Source existing - it has a centralised list of all virtual function hooks done using SourceHook and can manage the inter-dependencies between plugins.
__________________
asherkin is offline