setWeaponFireTime( <weapon name>, <fire time> )

Module: Weapons


Set new fire time to a weapon


fireTime = 100;
setWeaponFireTime(weaponName, fireTime);

Required Args:

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

Deprecated Args:

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