One more thing, could you specify maybe a lil bit on how to do it for rocket launchers I'm a bit confused.
When you have a round loaded search for 1
Fire a round off search for 0
load a round search for 1
Fire a round search for 0
Also to anyone having problems with this not working dont use the version that gerk posted just use the standard cheat engine from the official site and make sure to run cheat engine as admin and arma not as admin, this has solved alot of problems for people.