Hi Kanede, welcome to the V! I hope you enjoy your stay with us crazy people
Shooting and bombing things - like Paul said - is not possible in Flight Simulator X, Flight Simulator 2004 or any other version of Flight Simulator. I think you have seen a 'guns effect' like this one that makes it look like an aircraft is firing its guns, but it will not have any effect on other aircraft; they will not be damaged. Below is an example of such an effect, which in this case is included in the Just Flight Spitfire. But again, it will not damage the aircraft you are shooting at ...
Again, this will not damage the other aircraft! It is just an effect that simulates the guns firing. As the others here already told you, if you want to use real guns in a Flight Simulator and shoot aircraft or bomb things, then you should look at Microsoft Combat Flight Simulator. Below is an example of that sim:
Hehe i'm a bad 2 Vs one with the planes pilot being ace

BTW: that's me!
