No, you need to load model and then the gunNode mentioned before refers to the ISceneNode (or whatever) that points to that model.
Also, remember to scale the gun nice and small and then reposition it so it's offset nicely from the camera and looks realistic. Making it small will stop it disappearing through walls when you walk into them!
K, still a bit ways off for me then I guess, I can figure out how to load a model on the map I guess, but dunno how to attach it to the camera and offset it yet (I picked up both C++ and Irrlicht a couple days ago).
Have you got a small piece of code to demonstrate maybe? Would be much appreciated
Then to offset it you just call the gunNode's setPosition() method with some small values. It can take quite some experiementing with different values to even see the gun on the screen sometimes as the offset values you give it may offset it to behind the camera and then you'll never see it, so try giving it something like +/-10 for each value (X and Z only probably, 0 on the Y axis should probably make it at least visible by the camera) and see which combination of those brings it in front of the camera then you can tweak each one by one to line it up nicely.
i've wrote something to not allow a gun disapear into the wall but it's work only when i walk straight to the wall but when i turn left ,right it's dispapear into wall.
Do what i said, just make the scale of the gun node small enough so it doesnt go through the wall anymore, you'll then have to tweak the offset you had the gun at a bit to get it back to looking the same way as before, but it's not hard.