yes, ofc.... fixed it
PHP Code:
public eDeath( )
{
register_plugin("Headshot", VERSION, "Zpoke")
new iAttacker = read_data(1);
new iHeadshot = read_data(3);
if( iHeadshot )
{
set_user_health( iAttacker, get_user_health( iAttacker ) + get_pcvar_num( cvar_hs ) )
}
else
{
set_user_health( iAttacker, get_user_health( iAttacker ) + get_pcvar_num( cvar_kill ) )
}
}
__________________