rg_get_weapon_info

Синтаксис

native any:rg_get_weapon_info(any:...);

Употреба

weapon
name or id      Weapon id, see WEAPON_* constants, WeaponIdType or weapon_* name
WpnInfo:type
Info type, see WI_* constants

Описание

Returns specific information about the weapon.

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

Weapon information

Грешка

If weapon_id or type are out of bounds, an error will be thrown