View Single Post
Fredd
Veteran Member
Join Date: Jul 2007
Old 04-15-2008 , 21:28   Re: Hooking OnTakeDamage
Reply With Quote #7

well i figured it out, thx to LDuke here is what i used
Code:
edict_t *Attacker=  serverents->BaseEntityToEdict(info.GetAttacker());
then using "IndexOfEdict" to get me the index..the problem is that "info.m_hAttacker" wont work unless if you change the sdk files..
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline