string WeaponName( int id );
This gets the weapons script name (excluding “weapon_”) from a weapons id number.
Beta 3.1
<lua> local weapName = WeaponName(weapId); </lua>