Class WeaponData
Package: @altmp/altv-types
Syntax
Properties
|
Improve this Doc
View Source
modelHash
Declaration
public readonly modelHash: number
Property Value
|
Improve this Doc
View Source
nameHash
Declaration
public readonly nameHash: number
Property Value
|
Improve this Doc
View Source
recoilShakeAmplitude
Declaration
public recoilShakeAmplitude: number
Property Value
|
Improve this Doc
View Source
recoilAccuracyMax
Declaration
public recoilAccuracyMax: number
Property Value
|
Improve this Doc
View Source
recoilAccuracyToAllowHeadshotPlayer
Declaration
public recoilAccuracyToAllowHeadshotPlayer: number
Property Value
|
Improve this Doc
View Source
recoilRecoveryRate
Declaration
public recoilRecoveryRate: number
Property Value
|
Improve this Doc
View Source
animReloadRate
Declaration
public animReloadRate: number
Property Value
|
Improve this Doc
View Source
vehicleReloadTime
Declaration
public vehicleReloadTime: number
Property Value
|
Improve this Doc
View Source
lockOnRange
Declaration
public lockOnRange: number
Property Value
|
Improve this Doc
View Source
accuracySpread
Declaration
public accuracySpread: number
Property Value
|
Improve this Doc
View Source
range
Declaration
Property Value
|
Improve this Doc
View Source
damage
Declaration
Property Value
|
Improve this Doc
View Source
clipSize
Declaration
public readonly clipSize: number
Property Value
|
Improve this Doc
View Source
timeBetweenShots
Declaration
public readonly timeBetweenShots: number
Property Value
|
Improve this Doc
View Source
headshotDamageModifier
Declaration
public headshotDamageModifier: number
Property Value
|
Improve this Doc
View Source
playerDamageModifier
Declaration
public playerDamageModifier: number
Property Value
|
Improve this Doc
View Source
allHashes
Declaration
public static allHashes: readonly WeaponData[]
Property Value
Methods
|
Improve this Doc
View Source
getForHash(number)
Declaration
public static getForHash(weaponHash: number): WeaponData
Parameters
Type |
Name |
Description |
number |
weaponHash |
|
Returns