animation and position

when i make the animation of firing with gun should i do that with gun in 3d max or what should i write in 3d max to set to the hand of the animation guy? in java script

no answers?