Thread
:
[HELP] Hook Custom Entity Being Destroyed
View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
11-02-2020 , 00:34 Re: [HELP] Hook Custom Entity Being Destroyed
#
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
View Public Profile
Send a private message to HamletEagle
Find More Posts by HamletEagle