View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-15-2020 , 08:34   Re: HookEntityOutput hooks not only specified entity classname
Reply With Quote #2

This looks fairly broken but I can't see anything obviously wrong - can you open an issue on GitHub?

As a workaround you can probably use OnEntityCreated and HookSingleEntityOutput, but I'm not sure if that'll be any more efficient than just checking the classname in the callback.
__________________
asherkin is offline