PHP Code:
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)
{
if (!is_user_connected(attacker))
return HAM_IGNORED
new Float:newdamage
newdamage=damage * 2.0
SetHamParamFloat(4,new_damage)
return HAM_IGNORED
}
is it right?i use it to increase weapon's damage, but ineffective.