cs_get_weapon_info

Синтаксис

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

Употреба

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

Описание

Returns some information about a weapon.

Връщаща стойност

Weapon information value

Грешка

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