good day to all) can I please add to this plugin the output of the model and that the plugin would work on the command /hed
Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
const m_LastHitGroup = 75;
public plugin_init()
{
RegisterHam( Ham_TakeDamage , "player" , "HamTakeDamage" );
}
public HamTakeDamage( victim , inflictor , attacker , Float:fDamage , bitDamage )
{
return ( get_pdata_int( victim , m_LastHitGroup ) == HIT_HEAD ) ? HAM_IGNORED : HAM_SUPERCEDE;
}