Player.GetWeaponInfo

Returns information on the player's currently equipped(?) weapon.
;Usage
Player.GetWeaponInfo()
;Returns
A table with the following keys:
* AmmoPerBurst - not sure what this is, always seems to be 1 (EX: shotguns still have this as 1)
* BurstDuration - not sure what this is, always seems to be 0
* ChargeType - "spinup" when an HMG, otherwise nil
* ChargeUpTime - spinuptime for HMGs. is 1.50... for HMGs, otherwise 0.
* ClipSize - maximum number of rounds in a magazine
* ItemId - is of type {entity} - haven't looking into this.
* MaxAmmo - this + ClipSize is total amount of ammo storable (EX: for HMGs without clip mods, would be 650)
* MaxZoom - zoom factor, defined for weapons that can ADS, otherwise nil. 60 for Supressor Rifle, 55 for Assault Rifles, 50 for Marksman Rifles, 22 for sniper rifles
* Range - in meters
* RateOfFire - in rounds/second
* WeaponType - string representation of currently equipped weapon type. EX: "Heavy MG" (all variants of the same type have same WeaponType, so Spinup HMGs and ReflectShield HMGs are just "Heavy MG")
Category:Addon_API