cs_get_weapon_info

Syntax

native any:cs_get_weapon_info(weapon_id, CsWeaponInfo:type);

Usage

weapon_id
Weapon id, see CSW_* constants
type
Info type, see CS_WEAPONINFO_* constants

Description

Returns some information about a weapon.

Return

Weapon information value

Error

If weapon_id and type are out of bound, an error will be thrown.