There is this saying that goes a friend is a replica of who an individual becomes. Environment, friends and peer group play even stronger role in influencing a kid than their parents. Parents can be the flexible working type who has all the time in the world for their kids but it takes carrying them along when gambling to get them influenced but for age grades and peer group even without direct contact with the kid the just get easily influenced
The influence of parents change as times passes, at the beginning of the life of their children they are incredibly influential as the kid has no say on the decision of their parents, however as time passes this influence begins to go down and reaches a low point when the kid reaches adolescence, that is when their friends can be many more times more influential than their parents, but once that stage of your life is over the influence of your parents begins to go up again as you begin to see how wise they are and you are no longer a teen which believes you know everything there is to know about life.
Yes, indeed, the children along the way will develop other ideas when maturities come up, but the parent should always be there to continue the guidance for their children. Even there are influences from the new friends that they might acquire from the community or from the school. As long as the bond is still with their parents, the chance of them not to fall into any gambling addiction is high.
Case to case though, and it will still be on how the children will choose a path when they already have that chance to choose one for themselves.