cs_get_weapon_class

Syntax

stock CsWeaponClassType:cs_get_weapon_class(weapon_id)

Usage

weapon_id
Weapon id (CSI_* constants)

Description

Returns a weapon class id associated with a weapon id.

Return

Weapon class id (CS_WEAPONCLASS_* constants)