I think what a gambling addict needs is genuine attention so that he knows that there are still people who try to be kind and care about him. Gradually, this will open his heart to accept the person, and with this gentle approach, the gambling addict can start to open up. After all, there's nothing wrong with trying to pay attention to a gambling addict, especially if we know them well and we think they really need our help.
Maybe for my attention there is no problem, but for advice it is rather difficult to advise addicts because it is difficult to make addicts realize that what they are doing is wrong, usually addicts tend to ignore any advice from other people even though it is something good for them, I also have a friend addict and he managed to get out of his addiction because his family abandoned him and also lost all his money.
Usually addicts will realize when they lose everything, for those who have a strong mentality he will get up and get out by himself but if he doesn't have a strong mentality he will definitely end his life without thinking about his future, but as a friend I still pay attention to him so he doesn't do anything that harms himself.