hi there, first you need to copy and paste this into notepad... save into your arma 3 folder as "Filename.sqf" by changing the drop down menu to "all files" and then naming the sqf.... and its SQF... not SQL!!!!
Now you need an injector or Debugger of some sort. Into the injector, type
ExecVM "FileName.sqf"
and it executes and then shoot your bullets!
Easier then is sounds... If you want more info add me, JME, or Lystic on skype and they can help
you with getting an injector