All you need to be is right next to a friendly command post and a weapon. Click the trigger button and quickly open up the command post screen, and right after immeditately close the screen and click the trigger button. Repeat this scenario and you will spam shots!