setWeaponDamage( <id>, <dmg> )


Module: Weapons

Summary:

Set new damage to weapon



Example:

setWeaponDamage(id, dmg);



Required Args:

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