native

ns_set_weap_dmg

Syntax

native ns_set_weap_dmg(idWeapon, Float:damage);

Description

Sets the damage for this weapon.

Parameters

idWeapon The entity index of the weapon to set.
damage The damage to make this weapon cause.

Note

Use weapon index, not player index!

Return

This function has no return value.