As CS:GO has weapons that share the same classname (the one's that are in the same inventory slot), for example the P2000 and USP-S (weapon_hkp2000, weapon_usp_silencer), I am now looking for a way to get the actual weapon name from a weapon's ID.
I tested getting various EntProps but all i found working was the Classname via m_iClassname once again. The only function i know is GetClientWeapon of the clients.inc include. But this always gets the currently active weapon from a player and doesn't allow me to check weapons that are not currently equipped.
How can I do that?