Get A 9mm AR Automatic Weapon & Grenades
Activate the console, then type /give weapon_9mmAR and then press "enter". That gives you an automatic 9mm AR weapon. To get grenades also, type /give ammo_ARgrenades (AFTER you have got the 9mm AR) and then press "enter". You will now have an automatic 9mm AR with grenades.