4 months old is a little too late for the onset of colic.
If all they found was gas (which is pretty painfull, and I wouldn't blame the little one for yelling about it) and this has just started recently, I would say it's probably diet related- incompatible formula- something of that nature.
If the baby has recently started trying any solid foods- it could also be related to that- fruit can cause babies to be gassy because of the natural sugars (can also have a laxative effect) certain vegetables can make babies (and everyone else) gassy too- broccolli, cabbage, etc.
You could try a formula made for lactose intollerant babies, or a soy based one (soy can cause gas though, so be careful)
you could try a regular formula, but checking the ingredients, find the one which contains the least amount of sugar.
You could have the baby allergy tested.
You could try letting her sleep on her stomach, or try lying her on her stomach accross your lap when she's fretful- a warm (not hot) water bottle or heat pack can help relieve gas pains.
If none of this helps, I would definately take her to a peadiatrition.
One of my friend had a "screamer" and it wasn't 'till the poor little guy was about 4 months old that they found out there was something wrong with his bowel.- it was easy to fix, but did require surgery, and he'd been suffering from it since birth. So tell your firend to trust her instincts and not to listen to people when they tell her she's worrying about nothing, if she really thinks something is going on with her little girl.