It all depends on the nature of the person in choosing friends, even though they are in a gambler's family environment, even though each child has a different nature but the role of friends in the social environment can affect a person, even though there is a term (fruit doesn't fall far from the tree) that term sometimes often pinned by people, to be the family of the gambler, the role of friends in life can be good or vice versa so it all depends on how they choose friends in their environment..
Being surrounded by bad influence friends can influence a person even if he or she grew into a good environment in their family. That's really something to be thought about in terms of behavioral process as everyone is learning new things not only from their parents, from the technology but mostly, from the surroundings and neighborhood they live at.
What influence people lifestyle is the family where they come from and the environment where they belong too. The environment is always ready to have big influence on people when the family is not putting more time to pattern the life of a child. The environment plats a big role in character of children when parents are not taking good responsibility in watching children. There are some environment that people living there behaves in a particular lifestyle.