View Single Post
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 11-03-2018 , 15:33   Re: [TF2] OnTakeDamage : Is it possible to hook an entity ?
Reply With Quote #4

Code:
public void OnEntityCreated(int entity, const char[] classname) 
{ 
    // check if the classname param is the tank
    { 
        SDKHook(entity, SDKHook_OnTakeDamage, OnPropTakeDamage); 
    } 
}
__________________
Neuro Toxin is offline