Custom Damage ->
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
public plugin_init()
{
RegisterHam(Ham_TakeDamage, "player", "player_takedamage")
}
public player_takedamage(victim, inflictor, attacker, Float:damage, damage_bits)
{
if(is_user_alive(attacker))
{
if(get_user_weapon(attacker) == CSW_KNIFE)
{
if(HasBerserk[attacker])
{
SetHamParamFloat(4, 50) //but it's left and right mouse button
//when attacking you give 50 damage
if(get_pdata_int(victim, 75) == HIT_HEAD) //HeadShot
{
SetHamParamFloat(4, 75)
// If you attack someone and give head give 75 damage
}
}
}
}
}
And for other sound look at ->
this <-