Skip to main content
Branch: Release Candidate

WeaponData

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

Index

Properties

publicaccuracySpread

accuracySpread: number

publicanimReloadRate

animReloadRate: number

publicreadonlyclipSize

clipSize: number

publicdamage

damage: number

publicheadshotDamageModifier

headshotDamageModifier: number

publiclockOnRange

lockOnRange: number

publicreadonlymodelHash

modelHash: number

publicreadonlynameHash

nameHash: number

publicplayerDamageModifier

playerDamageModifier: number

publicrange

range: number

publicrecoilAccuracyMax

recoilAccuracyMax: number

publicrecoilAccuracyToAllowHeadshotPlayer

recoilAccuracyToAllowHeadshotPlayer: number

publicrecoilRecoveryRate

recoilRecoveryRate: number

publicrecoilShakeAmplitude

recoilShakeAmplitude: number

publicreadonlytimeBetweenShots

timeBetweenShots: number

publicvehicleReloadTime

vehicleReloadTime: number

publicstaticallHashes

allHashes: readonly WeaponData[]

Methods

publicstaticgetForHash

  • getForHash(weaponHash: number): WeaponData