You can create bullets but they'll fall down in a straight line. But if you are running that script on OFP Resistance you can use the setVelocity command to let the bullet fly in a certain direction. Try this script:
("Bullet7_6" camCreate (_this select 0)) setVelocity [(sin (_this select 1)) * (_this select 2), (cos (_this select 1)) * (_this select 2), 0]
Call it like this:
[ Position, Bearing, Speed ] Exec "ScriptName.sqs"
where Position is the [x, y, z] position array, Bearing the compass bearing of the bullet and Speed the speed in m/s. I haven't tested this solution so don't expect that it works from the start. ;D