if you want to have the model as a typical FPS, just write:
Code:
vec_set(weapon.x,camera.x);
vec_set(temp,vector(10,2,-5));//play with it
vec_rotate(temp,player.pan);
vec_add(weapon.x,temp);
vec_set(weapon.pan,player.pan);



enjoy