The first problem, maybe "uzi.mdl" was not found? Then player2_weapon is NULL and you get that error. Try:

if (player2_weapon) { ent_remove(player2_weapon); }

Your second problem, maybe the other character has different hand vertex numbers than 12 and 10?