You have to select the weapon and press and hold the key F; leave the key when you want to shoot someone.