It's called combat sniping, try it sometime and you'll learn it's not as easy as it looks when you get killed by one.
Also see; Combat Medic, running into enemies kicking arse with a syringe gun and Combat Engineer, defending your buildings close to enemy defence points while they complete