setWeaponReloadEmptyTime( <weapon name>, <empty reload time> )

Module: Weapons


Set empty reload time to a weapon


emptyReloadTime = 50;
setWeaponReloadEmptyTime(weaponName, emptyReloadTime);

Required Args:

  • 1 : <weapon name>: (string) The weapon name for this weapon.
  • 2 : <empty reload time> New empty reload time in ms

Deprecated Args:

  • 1 : <id> Weapon id (available for backwards compatibility). You can get it with getLoadedWeapons()