Yeah i was goi9ng to post back but i forgot, i just got the classname of that id and compared it to a string:
Code:
new weapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");
new String:weaponname[32];
GetEdictClassname(weapon, weaponname, 32);
if(!StrEqual(weaponname, "weapon_glock"))
{
//values
}