setWeaponReloadTime( <weapon name>, <reload time> )

Module: Weapons


Set new reload time to a weapon


reloadTime = 100;
setWeaponReloadTime(weaponName, reloadTime);

Required Args:

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

Deprecated Args:

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