View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-13-2011 , 16:32   Re: Prevent shooting players
Reply With Quote #2

Code:
#include <fakemeta> #define m_LastHitGroup 75 public tk(victim, inflictor, killer, damage, bits) {     if (killer == victim)     {            return HAM_IGNORED;     }     if (enabled[killer] != enabled[victim]) {         set_pdata_int(victim, m_LastHitGroup, HIT_CHEST);         return HAM_SUPERCEDE;     }     return HAM_IGNORED }

That should work. If not, it stills looks better than what you had.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 08-13-2011 at 17:17.
Exolent[jNr] is offline