is there a Vector "shoot_vector" defined?

Is the "shoot_pic_function" in your ent_create ABOVE your code?