I have a problem with this plugin. When i set the Bullet_Hs_Mode to 2 it shows the message "HEADSHOT" every time the victim is hit in head, even is not killed with headshot.
I found this fix that works with me
I replace the code
PHP Code:
else
{
show_client_text( Victim, "HEADSHOT", 0, pCvar_TMODE )
show_client_text( Attacker, "HEADSHOT", 1, pCvar_TMODE )
}
with
PHP Code:
else
{
if( !is_user_alive( Victim ) || !is_user_alive( Attacker ))
{
show_client_text( Victim, "HEADSHOT", 0, pCvar_TMODE )
show_client_text( Attacker, "HEADSHOT", 1, pCvar_TMODE )
}
else
{
show_client_value( Victim, damage, 0, DIRECTOR_HUD_MESSAGE )
show_client_value( Attacker, damage, 1, DIRECTOR_HUD_MESSAGE )
}
}
Now it shows the "HEADSHOT" message only if the player is killed with headshot