Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WeaponData

With the WeaponData class you can get specific weapon values and also set some of them.

Hierarchy

  • WeaponData

Index

Constructors

Protected constructor

  • Returns WeaponData

Properties

accuracySpread

accuracySpread: number

animReloadRate

animReloadRate: number

Readonly clipSize

clipSize: number

damage

damage: number

headshotDamageModifier

headshotDamageModifier: number

lockOnRange

lockOnRange: number

Readonly modelHash

modelHash: number

Readonly nameHash

nameHash: number

playerDamageModifier

playerDamageModifier: number

range

range: number

recoilAccuracyMax

recoilAccuracyMax: number

recoilAccuracyToAllowHeadshotPlayer

recoilAccuracyToAllowHeadshotPlayer: number

recoilRecoveryRate

recoilRecoveryRate: number

recoilShakeAmplitude

recoilShakeAmplitude: number

Readonly timeBetweenShots

timeBetweenShots: number

vehicleReloadTime

vehicleReloadTime: number

Static allHashes

allHashes: readonly WeaponData[]

Methods

Static getForHash

  • Initializes a new instance of the WeaponData.

    Parameters

    • weaponHash: number

    Returns WeaponData