Skip to content
On this page

AthenaShared.information.weaponList ​

Interfaces ​

Functions ​

getWeaponByName ​

Usage

AthenaShared.information.weaponList.getWeaponByName(name): Weapon | null

Get a weapon hash by its string name.

Parameters ​

NameType
namestring

Returns ​

Weapon | null

Defined in ​

shared/information/weaponList.ts:1565


getWeaponList ​

Usage

AthenaShared.information.weaponList.getWeaponList(): Weapon[]

Get all the weapons in the game.

Returns ​

Weapon[]

An array of all the weapons in the WeaponList.

Defined in ​

shared/information/weaponList.ts:1573


getWeaponMap ​

Usage

AthenaShared.information.weaponList.getWeaponMap(): Object

Returns ​

Object

Defined in ​

shared/information/weaponList.ts:1577

Created by Stuyk | Est. 2020