The commented part completly wrong. it should be like that;
Code:
c_trace....
if(HIT_TARGET)
{
	if (hit.entity!=ent)
	{
		set(hit.entity, TRANSLUCENT);
		hit.entity.alpha = 60;
	}
}