Skip to content

CWPNData@

Weapon data.

Methods

  • string szPrimaryAmmo() -- Gets the name of the primary ammo.
  • string szSecondaryAmmo() -- Gets the name of the secondary ammo.

Properties

  • float flPrimaryMinDamage --
  • float flPrimaryMaxDamage --
  • float flSecondaryMinDamage --
  • float flSecondaryMaxDamage --
  • float flNPCMinDamage --
  • float flNPCMaxDamage --
  • int iSlot --
  • int iPosition --
  • int iMaxClip1 --
  • int iMaxClip2 --
  • int iDefaultClip1 --
  • int iDefaultClip2 --
  • int iWeight --
  • bool bAutoSwitchTo --
  • bool bAutoSwitchFrom --
  • int iFlags --
  • int iAmmoType --
  • int iAmmo2Type --
  • float flFireRate1 --
  • float flFireRate2 --
  • bool bLethal --
  • bool bRanged --
  • bool bMelee --
  • bool bDangerous -- Returns true if NPCs should act wary of this weapon.