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

Function

getWeaponFiringRate

ServerWeaponsIdentical to MTA:SA

Returns a scripted weapon's fire rate multiplier (1 is the factory rate).

Syntax

float getWeaponFiringRate(weapon weapon)

Arguments

weaponweapon
The scripted weapon.

Returns

The multiplier or false.

Example

print(getWeaponFiringRate(turret))

See also