This code will not work. I said it 2 times before, I'll say it again: pev_classname will return either "armoury_entity" or "weaponbox", not "weapon_awp". YOU HAVE TO RETRIEVE THE WEAPON THAT'S INSIDE THE WEAPONBOX.
Foxa posted the correct code. This thread is already derailing way too much.