No, get_user_weapon( id ) returns the weapon id of the currently carried weapon. You must do this:
PHP Code:
new iWeapon[32]
new wepid = get_user_weapon( id )
get_weaponname( wepid, iWeapon, 31 )
Even then, I think that will return something like "weapon_" so, do actually get the weapon name that is normally used, you are going to have to make a constant or something with the names the same as the weapon id. Which are these: