My bullets don't go to the middle of the crosshair.Them aren't going to the middle of my crosshair.pcx,them are going to where the crosshair.pcx begins(on x,y)...Please help!Here is a part of the code:

.............................

mouse_mode=1;
mouse_map = crosshair_pcx;
wait (2);
while (1)
{
mouse_pos.x = 400;
mouse_pos.y = 300;
camera.pan -= mouse_force.x;
camera.tilt += mouse_force.y;

wait (1);
}

..............................

function fire_bullets()

{
VECTOR bullet_pos[3];
vec_for_vertex(bullet_pos, guard, 6);
ent_create("bullet.mdl", bullet_pos, move_bullets);
while(mouse_mode = 1)
{
vec_to_angle(guard.pan,mouse_dir3d);
wait(1);

}

Last edited by Ted22; 12/27/09 22:29.