View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-02-2020 , 00:34   Re: [HELP] Hook Custom Entity Being Destroyed
Reply With Quote #2

Create your entity as func_breakable and use set_pev pev_classne with your classname(func_myent).
Hook TakeDamage with func_breakable. Inside take_damage retrieve pev_classname and check against func_myent.
__________________

Last edited by HamletEagle; 11-02-2020 at 00:35.
HamletEagle is offline