fire in the direction the sight is pointing.
Ahh, but that's not what HE said.
Anyways, the code I showed you will still do that, just aim the bullet at the target behind the crosshairs.
As Tracer said, you can use the picking commands (LinePick, EntityPick, etc.).