Returns the class of weapon that this weapon is, such as "rifle", "smg", "spread", "pistol", etc.
if ( WeaponClass( "m16_basic" ) == "rifle" ) ...