Quote:
Originally Posted by wonsae
PHP Code:
public client_damage(attacker, victim, damage, wpnindex, hitplace, TA)
{
set_user_health(id,get_user_health(id) + damage)
return PLUGIN_HANDLED
}
Maybe this :\?
|
I think in order for this to work you'd need to check if the attacker was some person first... eg:
Code:
public client_damage(attacker, victim, damage, wpnindex, hitplace, TA)
{
if(get_user_attacker(id) == )//<-- put person here
{
set_user_health(id,get_user_health(id) + damage)
return PLUGIN_HANDLED;
}
}