works like a charm, but i have one final question (i hope I use this function to attach the weapon entitys to the turretentity
Code:
void add_weapon_to_bearer(WEAPON* w,vertex)
{
vec_for_vertex(my._hinge_pos,me,vertex);
w.w_me = ent_create(w.w_gun_model,my._hinge_pos,w.w_gun_func);
w.w_me._stat_pointer = w;
}
w_me is an entitypointer to the weaponmodel