first one I have no idea. Never used that stuff. It messes with yer brain
second u can camcreate a flare but it never really "fires" but thats unecessary if u dont want the guys to preform the animation(if there is one except holding the gun so it points up)of launching a flare of course. Like this:
flare1="flareyellow" camcreate[getpos gl select 0, getpos gl select 1,48]
where 'flareyellow' is the sort of flare that you can use. Accepted flares are: 'flare', 'flareyellow', 'flaregreen' and 'flarered'
where 'gl' is the target(whom or what the flare should be over).
where '48' is the height that the flare should be. Though above the target is if the target is 100 meter up in the air it will be 148 meters up in the air(I recommend u use a number above 48 though).