its easy fixed m8'
Changed Working Version
The Script
----------------------------------------------
_shooter=_this select 0
_weapon =_this select 1
_muzzle =_this select 2
_mode =_this select 3
_ammo =_this select 4
_camera = "camera" camCreate [0,0,0]
_camera cameraeffect ["Internal", "Back"]
_shell=NearestObject [getpos _shooter,_ammo]; here's the error you cant give "NearestObject" an object you must give the Pos in 3D which "getpos" will do
#Fire
?(!Alive Idiot):GoTo "Done"
_camera camSetTarget _shell
_camera camSetRelPos [0,0,0]
_camera camCommit 0
~0.01
GoTo "Fire"
#Done
_camera cameraeffect ["Terminate", "Back"]
camDestroy _camera
TitleCut ["","WHITE IN",3]
ForceEnd
----------------------------------------------
happy scripting