setWeaponDamageMelee( <id>, <dmg> )


Module: Weapons

Summary:

Set new malee damage to weapon



Example:

setWeaponDamageMelee(id, dmg);



Required Args:

  • 1 : <id> Weapon id. You can get it with getLoadedWeapons()
  • 2 : <dmg> New weapon's melee damage