ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. resetWeaponFiringRate

Function

resetWeaponFiringRate

ServerWeaponsIdentical to MTA:SA

Restores a scripted weapon's factory fire rate (multiplier 1).

Syntax

bool resetWeaponFiringRate(weapon weapon)

Arguments

weaponweapon
The scripted weapon.

Returns

true on success.

Example

resetWeaponFiringRate(turret)

See also