View Single Post
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-26-2020 , 19:09   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #794

So i have a plugin that removes some entities on SDKHook_Spawn and another plugin that dhooks an entity on SDKHook_Spawn. Whenever I kill an entity that is hooked as well, the server crashes.
I changed SDKHook_Spawn to SDKHook_SpawnPost for the dhook thing, and it's fine now. Should i dunhook the entitiy on EntityDestroyed?
I hook AcceptInput and i use AcceptEntityInput to kill entities.

Some info about the crash:

Last edited by Ilusion9; 08-26-2020 at 19:18.
Ilusion9 is offline