Player GetWeaponState

Returns a table with data about the current state of the currently equipped weapon

{Ammo, AmmoType, Clip, FireRateMod, [Zoom, ZoomedIn]} = Player.GetWeaponState([main])
 * Usage

Ammo - number of rounds in storage (not counting rounds in magazine) AmmoType - seems to be projectile type Charge - number ChargeRate - number Clip - number of rounds currently in magazine FireRateMod - seems to show modified firerate, but doesn't quite match up. is normally 1, but for my shotgun with 7.5% fire rate bonus, it's 1.10.... Locked - boolean MaxZoom - number MinZoom - number RoundsPerBurst - number ZoomedIn - boolean, whether one is zoomed in or not ZoomPercent - number


 * Returns table with following values:

-- { "RoundsPerBurst" = 1, "AmmoType" = "BioCrossbow Bolt", "Locked" = false, "Ammo" = 100, "Clip" = 21, "FireRateMod" = 1 } --
 * Examples: