Jack, I had the same problem dude. You're going to have to manually lock the gun to the camera. Try making an array to use with a lock on function.
LockedObjs(100,3)
function LockOn(obj,id,xoff,yoff,zoff)
for i=0 to 100
if LockedObjs(i)=0
LockedObjs(i,0)=id
LockedObjs(i,1)=xoff
LockedObjs(i,2)=yoff
LockedObjs(i,3)=zoff
exitfunction
endif
next i
endfunction
function UpdateLocks()
for i=0 to 100
if LockedObjs(i,0<>0
position object LockedObjs(i,0),camera position x + LockedObjs(i,1), camera position y + LockedObjs(i,2), camera position z + LockedObjs(i,3)
endif
endfunction
Crazy Donut Productions
Current Project: A Redneck game